Skip to content

Commit 9ca9635

Browse files
committed
docs(readme): add logo
1 parent ff1b856 commit 9ca9635

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
![Logo](./projects/ng-sortgrid-demo/src/assets/logo.png)
12

23
![Grid demo](./projects/ng-sortgrid-demo/src/assets/grid-demo.gif)
34

@@ -16,7 +17,7 @@ Import the ```NgsgModule``` in your ```AppModule```.
1617
...
1718
```
1819

19-
## 1. Apply the directive
20+
## Apply the directive
2021
Loop over your elements with *ngFor. 🛎️ the items needs to be an array.
2122

2223
![Grid demo](./projects/ng-sortgrid-demo/src/assets/gs1.png)
@@ -25,7 +26,7 @@ Apply the ngSortgridItem directive
2526

2627
![Grid demo](./projects/ng-sortgrid-demo/src/assets/gs2.png)
2728

28-
## 2. React on changes
29+
## React on changes
2930
In most cases you are interested in the new sort order. Often you want to store them in local storage or even send them to the backend. To do so the following two steps are needed in addition to the "Getting started" step.
3031

3132
Pass your items to the directive via the ngSortGridItems input.
@@ -35,7 +36,7 @@ React on the 'sorted' output events
3536

3637
![Grid demo](./projects/ng-sortgrid-demo/src/assets/gs4.png)
3738

38-
## 3. Group sortgrids
39+
## Group sortgrids
3940
In case you have more than one sortgriditem on the page you need to group the sortgriditems to avoid dropping drags from one group in another group.
4041
Pass in a unique name to the ngSortGridGroup input
4142

116 KB
Loading

0 commit comments

Comments
 (0)