UNPKG

ember-sortable

Version:
24 lines (23 loc) 757 B
import Modifier from 'ember-modifier'; interface SortableHandleModifierSignature { Element: HTMLElement; } /** * Modifier to to mark the handle of an item. If this is not supplied the item will be the handle * * @module drag-drop/draggable-group * @example* * <ol {{sortable-group onChange=this.update a11yAnnouncementConfig=this.myA11yConfig}}> * {{#each model.items as |item|}} * <li {{sortable-item model=item}}> * {{item.name}} * <span class="handle" {{sortable-handle}}>&varr;</span> * </li> * {{/each}} * </ol> */ export default class SortableHandleModifier extends Modifier<SortableHandleModifierSignature> { didSetup: boolean; modify(element: HTMLElement): void; } export {};