@acidic9/slim-select 中文文档教程

发布于 4年前 浏览 17 项目主页 更新于 3年前

Slim Select

slimselectjs.com

Slim 高级选择下拉列表

构建状态 NPM 下载

给我买杯咖啡

有关所有功能的文档和示例,请参阅:http://slimselectjs。 com

Features

  • No Dependencies
  • 20kb - 5kb gzip
  • Single Select
  • Multi Select
  • User Addable Options
  • Html Options
  • Settable Data
  • Callback Events
  • Placeholders
  • Search
  • Disable Options
  • Light CSS
  • Light Color Scheme
  • Style and Class Inheritance
  • Clean Animations
  • Performant

Browsers

  • IE 11+
  • Edge 13+
  • Chrome 30+
  • FireFox 25+
  • Opera 25+
  • Safari 9+

Installation

npm install slim-select

or

<script src="https://cdnjs.cloudflare.com/ajax/libs/slim-select/<version>/slimselect.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slim-select/<version>/slimselect.min.css"> 

Usage

import SlimSelect from 'slim-select'

new SlimSelect({
  select: '#slim-select'
})

Testing

浏览器测试由

Slim Select

slimselectjs.com

Slim advanced select dropdown

Build StatusNPM Downloads

Buy Me A Coffee

For documentation and examples on all features see: http://slimselectjs.com

Features

  • No Dependencies
  • 20kb - 5kb gzip
  • Single Select
  • Multi Select
  • User Addable Options
  • Html Options
  • Settable Data
  • Callback Events
  • Placeholders
  • Search
  • Disable Options
  • Light CSS
  • Light Color Scheme
  • Style and Class Inheritance
  • Clean Animations
  • Performant

Browsers

  • IE 11+
  • Edge 13+
  • Chrome 30+
  • FireFox 25+
  • Opera 25+
  • Safari 9+

Installation

npm install slim-select

or

<script src="https://cdnjs.cloudflare.com/ajax/libs/slim-select/<version>/slimselect.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slim-select/<version>/slimselect.min.css"> 

Usage

import SlimSelect from 'slim-select'

new SlimSelect({
  select: '#slim-select'
})

Testing

Browser testing has been provided by

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文