UNPKG

@auroratide/reorder-list

Version:
19 lines 833 B
import { ReorderItemElement } from "./reorder-item.js"; export type Orientation = "vertical" | "horizontal"; export declare class ReorderListElement extends HTMLElement { #private; static defaultElementName: string; static html: string; static css: string; constructor(); static get observedAttributes(): string[]; get orientation(): Orientation; set orientation(value: Orientation); attributeChangedCallback(attribute: string, oldValue: string, newValue: string): void; items: () => ReorderItemElement[]; current: () => ReorderItemElement; connectedCallback(): void; reorder: (curIndex: number, newIndex: number, list?: ReorderItemElement[]) => void; changeFocus: (newItem: ReorderItemElement, list?: ReorderItemElement[]) => void; } //# sourceMappingURL=reorder-list.d.ts.map