17.0.1 • Published 4 months ago
nxt-sortablejs v17.0.1
Angular Sortablejs directive
This package provides Angular binding for Storablejs which works with standard arrays as well as Angular FormArray
objects.
Quick links
Installing
npm install --save nxt-sortablejs sortablejs
Import Sortablejs module
import { SortablejsModule } from 'nxt-sortablejs'
@NgModule({
...
imports: [
...
SortablejsModule
]
})
If you want to cofigure global Sortablejs options, include SortablejsModule.forRoot in your application.
import { SortablejsModule } from 'nxt-sortablejs'
@NgModule({
...
imports: [
...
SortablejsModule.forRoot({
animation: 150
})
]
})
Use it in a template
<ul [nxtSortablejs]="items">
<li *ngFor="let item of items">{{ item }}</li>
</ul>
17.0.1
4 months ago
17.0.0
5 months ago
16.2.0
7 months ago
16.1.0
9 months ago
16.0.0-alpha.8
11 months ago
16.0.0
11 months ago
16.0.0-alpha.0
1 year ago
16.0.0-alpha.1
1 year ago
15.0.0
1 year ago
16.0.0-alpha.6
1 year ago
14.0.0
1 year ago
13.0.0
2 years ago