メインコンテンツまでスキップ
バージョン: v8

ion-reorder-group

Properties

disabled

Descriptiontrueの場合、リオーダーは非表示になる。
Attributedisabled
Typeboolean
Defaulttrue

Events

NameDescription
ionItemReorder並べ替えアクションを完了するためにリッスンが必要なイベント。
ionReorderEndEvent 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.
ionReorderMoveEvent that is emitted as the reorder gesture moves.
ionReorderStartEvent that is emitted when the reorder gesture starts.

Methods

complete

Description並べ替え操作を完了します。ionReorderEnd イベントで呼び出す必要があります。アイテムの配列が渡された場合は並べ替えられ、正しい順序で返されます。引数がない、または true が渡された場合は並べ替えを確定し、アイテムはドラッグ先の位置に留まります。false の場合は並べ替えが完了し、アイテムは元の位置に戻ります。
Signaturecomplete(listOrReorder?: boolean | any[]) => Promise<any>