阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      插件 jQuery.Custombox 中文API文档

      插件 jQuery.Custombox 中文API文档 https://github.com/dixso/custombox Custombox npm versionTravisCoverage Statusnpm License

      Modal dialog effects with transitions CSS3.

      Usage

      You can install custombox through bower:

      bower install custombox
      

      Or through npm:

      npm install custombox
      

      Alternatively, download the package and reference the JavaScript and CSS files manually:

      <script src="custombox.min.js"></script>
      <link rel="stylesheet" type="text/css" href="custombox.min.css">
      

      Optional legacy file for along for the older browsers.

      <script src="custombox.legacy.min.js"></script>
      

      Basic usage

      new Custombox.modal({
        content: {
          effect: 'fadein',
          target: '#modal'
        }
      }).open();
      
      目录
      本文目录
      目录