ion-reorder-group
Properties
disabled
Description | true の場合、リオーダーは非表示になる。 |
Attribute | disabled |
Type | boolean |
Default | true |
Events
Name | Description |
---|---|
ionItemReorder | 並べ替えアクションを完了するためにリッスンが必要なイベント。 |
ionReorderEnd | Event that is emitted when the reorder gesture ends. The from and to properties are always available, regardless of if the reorder gesture moved the item. If the item did not change from its start position, the from and to properties will be the same. Once the event has been emitted, the complete() method then needs to be called in order to finalize the reorder action. |
ionReorderMove | Event that is emitted as the reorder gesture moves. |
ionReorderStart | Event that is emitted when the reorder gesture starts. |
Methods
complete
Description | 並べ替え操作を完了します。ionReorderEnd イベントで呼び出す必要があります。アイテムの配列が渡された場合は並べ替えられ、正しい順序で返されます。引数がない、または true が渡された場合は並べ替えを確定し、アイテムはドラッグ先の位置に留まります。false の場合は並べ替えが完了し、アイテムは元の位置に戻ります。 |
Signature | complete(listOrReorder?: boolean | any[]) => Promise<any> |