|
|
|
@ -15,6 +15,7 @@ Demo: http://rubaxa.github.io/Sortable/
|
|
|
|
|
* Supports [Meteor](meteor/README.md) and [AngularJS](#ng) |
|
|
|
|
* Supports any CSS library, e.g. [Bootstrap](#bs) |
|
|
|
|
* Simple API |
|
|
|
|
* [CDN](#cdn) |
|
|
|
|
* No jQuery (but there is [support](#jq)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -424,6 +425,25 @@ Link to the active instance.
|
|
|
|
|
* toggleClass(el`:HTMLElement`, name`:String`, state`:Boolean`) — add or remove one classes from each element |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name="cdn"></a> |
|
|
|
|
### CDN |
|
|
|
|
|
|
|
|
|
```html |
|
|
|
|
<!-- CDNJS :: Sortable (https://cdnjs.com/) --> |
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/Sortable/1.0.1/Sortable.min.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- jsDelivr :: Sortable (http://www.jsdelivr.com/) --> |
|
|
|
|
<script src="//cdn.jsdelivr.net/sortable/1.0.1/Sortable.min.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- jsDelivr :: Sortable :: Latest (http://www.jsdelivr.com/) --> |
|
|
|
|
<script src="//cdn.jsdelivr.net/sortable/latest/Sortable.min.js"></script> |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|