3
3
[ ![ codecov.io] ( https://codecov.io/github/lcdsantos/jQuery-Selectric/coverage.svg?branch=master )] ( https://codecov.io/github/lcdsantos/jQuery-Selectric?branch=master )
4
4
[ ![ npm] ( https://img.shields.io/npm/v/selectric.svg )] ( https://www.npmjs.com/package/selectric )
5
5
6
- #jQuery Selectric ![ icon] ( http://i.imgur.com/D2hcnUN.png )
6
+ # jQuery Selectric ![ icon] ( http://i.imgur.com/D2hcnUN.png )
7
7
8
8
jQuery Selectric is a jQuery plugin designed to help at stylizing and manipulating HTML selects.
9
9
@@ -14,9 +14,9 @@ jQuery Selectric is a jQuery plugin designed to help at stylizing and manipulati
14
14
* Doesn't rely on external libraries (besides jQuery)
15
15
* Word search works with western latin characters set (for example: á, ñ, ç...)
16
16
17
- ###[ Demo] ( http://lcdsantos.github.io/jQuery-Selectric/ )
17
+ ### [ Demo] ( http://lcdsantos.github.io/jQuery-Selectric/ )
18
18
19
- ##How to use:
19
+ ## How to use:
20
20
21
21
Make sure to include jQuery in your page:
22
22
@@ -46,7 +46,7 @@ $(function() {
46
46
</script >
47
47
```
48
48
49
- ##Options:
49
+ ## Options:
50
50
51
51
You can pass an options object as the first parameter when you call the plugin. For example:
52
52
``` js
@@ -260,7 +260,7 @@ $('select').selectric({
260
260
}
261
261
```
262
262
263
- ##Events:
263
+ ## Events:
264
264
265
265
All events are called on original element, first argument is the original element too. And can be bound like this:
266
266
@@ -331,7 +331,7 @@ $('select').on('eventname', function(element) {
331
331
</tr >
332
332
</table >
333
333
334
- ##Public methods:
334
+ ## Public methods:
335
335
336
336
``` js
337
337
var Selectric = $ (' select' ).data (' selectric' );
@@ -350,7 +350,7 @@ $('select').selectric('refresh'); // Reconstruct the plugin options box
350
350
$ (' select' ).selectric (' init' ); // Reinitialize the plugin
351
351
```
352
352
353
- ##Browser support:
353
+ ## Browser support:
354
354
355
355
* Firefox
356
356
* Chrome
0 commit comments