19.0.4 • Published 5 months ago

nxt-sortablejs v19.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Angular Sortablejs directive

GitHub license npm scope

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>
19.0.1

6 months ago

19.0.0

6 months ago

19.0.2

6 months ago

19.0.4

5 months ago

18.0.0

1 year ago

17.0.1

1 year ago

17.0.0

2 years ago

16.2.0

2 years ago

16.1.0

2 years ago

16.0.0-alpha.8

2 years ago

16.0.0

2 years ago

16.0.0-alpha.0

2 years ago

16.0.0-alpha.1

2 years ago

15.0.0

2 years ago

16.0.0-alpha.6

2 years ago

14.0.0

3 years ago

13.0.0

3 years ago