UNPKG

multiple-select-vanilla

Version:

This lib allows you to select multiple elements with checkboxes

12 lines 714 B
/** * Multiple-Select-Vanilla * @author zhixin wen <wenzhixin2010@gmail.com> */ import { MultipleSelectInstance } from './MultipleSelectInstance.js'; import type { MultipleSelectOption } from './models/multipleSelectOption.interface.js'; /** * The multiplseSelect function is your entry to creating a MultipleSelect instance on any HTML Select Element. * You can provide a query selector as a string, a html node or an array of html nodes */ export declare const multipleSelect: (selector: ArrayLike<Node> | Node | string, config?: Partial<Omit<MultipleSelectOption, "onHardDestroy" | "onAfterHardDestroy">>) => MultipleSelectInstance | MultipleSelectInstance[]; //# sourceMappingURL=multiple-select.d.ts.map