v1/web/themes/custom/martis/assets/lib/nice-select
Gdilove 927f32325b 初始化 2023-11-13 20:36:13 +08:00
..
css 初始化 2023-11-13 20:36:13 +08:00
js 初始化 2023-11-13 20:36:13 +08:00
scss 初始化 2023-11-13 20:36:13 +08:00
README.md 初始化 2023-11-13 20:36:13 +08:00
bower.json 初始化 2023-11-13 20:36:13 +08:00
gulpfile.js 初始化 2023-11-13 20:36:13 +08:00
package.json 初始化 2023-11-13 20:36:13 +08:00

README.md

jQuery Nice Select

A lightweight jQuery plugin that replaces native select elements with customizable dropdowns.

Usage

Include jQuery and the plugin.

<script src="path/to/jquery.js"></script> 
<script src="path/to/jquery.nice-select.js"></script>

Include the plugin styles, either the compiled CSS...

<link rel="stylesheet" href="path/to/nice-select.css">

...or, ideally, import the SASS source (if you use SASS) in your main stylesheet for easier customization.

@import 'nice-select';

Finally, initialize the plugin.

$(document).ready(function() {
  $('select').niceSelect();
});

Full documentation and examples at hernansartorio.com/jquery-nice-select.