|
| 1 | +# Ng-sortgrid |
| 2 | + |
1 | 3 | [](https://travis-ci.org/kreuzerk/ng-sortgrid)
|
2 | 4 | [](https://codecov.io/gh/kreuzerk/ng-sortgrid)
|
3 | 5 | []()
|
4 | 6 |
|
5 |
| -# Ng-sortgrid |
6 |
| - |
7 | 7 | 
|
8 | 8 |
|
9 | 9 | 
|
10 | 10 |
|
11 |
| -[Demo](https://kreuzerk.github.io/ng-sortgrid/) |
| 11 | +- - <!-- START doctoc generated TOC please keep comment here to allow auto update --> |
| 12 | + <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> |
| 13 | + **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* |
| 14 | + |
| 15 | + - [Ng-sortgrid](#ng-sortgrid) |
| 16 | + - [Getting started](#getting-started) |
| 17 | + - [Download](#download) |
| 18 | + - [Apply the directive](#apply-the-directive) |
| 19 | + - [React on changes](#react-on-changes) |
| 20 | + - [Group sortgrids](#group-sortgrids) |
| 21 | + - [Use the async pipe](#use-the-async-pipe) |
| 22 | + - [Style your items on different events](#style-your-items-on-different-events) |
| 23 | + - [Integrate the build in CSS](#integrate-the-build-in-css) |
| 24 | + - [Scrolling](#scrolling) |
| 25 | + - [Custom scroll points](#custom-scroll-points) |
| 26 | + - [Scroll speed (*default 50*)](#scroll-speed-default-50) |
| 27 | + - [API](#api) |
| 28 | + - [Inputs](#inputs) |
| 29 | + - [Outputs](#outputs) |
| 30 | + - [Mobile usage](#mobile-usage) |
| 31 | + |
| 32 | + <!-- END doctoc generated TOC please keep comment here to allow auto update --> |
12 | 33 |
|
13 |
| -- [Getting started](#getting-started) |
14 |
| - - [Download](#download) |
15 |
| - - [Apply the directive](#apply-the-directive) |
16 |
| - - [React on changes](#react-on-changes) |
17 |
| -- [API](#api) |
18 |
| - - [Inputs](#inputs) |
19 |
| - - [Outputs](#outputs) |
20 |
| - |
21 |
| -# Getting started |
22 | 34 | ## Download
|
23 | 35 |
|
24 | 36 | ```
|
@@ -123,3 +135,7 @@ The *scrollSpeed* property accepts a number and allows you to specify the scroll
|
123 | 135 | | Value | Description | Default|
|
124 | 136 | |-------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------|
|
125 | 137 | | sorted: EventEmitter<NgsgOrderChange<T> | Emits an event after we sorted the items, each event is of type NgsgOrderChange. The NgsgOrderChange contains the previousOrder and the currentOrder. Both are freshly created arrays. |undefined|
|
| 138 | + |
| 139 | +# Mobile usage |
| 140 | + |
| 141 | +If you want to use those events on mobile you probably have to use some polyfills in order to emit all the needed events. Including this polyfill in your app should do the trick. https://github.com/timruffles/mobile-drag-drop. |
0 commit comments