UNPKG

choices.js

Version:

A vanilla JS customisable text input/select box plugin

24 lines (23 loc) 661 B
import { StringUntrusted } from './string-untrusted'; import { Types } from './types'; import { GroupFull } from './group-full'; export interface ChoiceFull { id: number; highlighted: boolean; element?: HTMLOptionElement | HTMLOptGroupElement; itemEl?: HTMLElement; choiceEl?: HTMLElement; labelClass?: Array<string>; labelDescription?: string; customProperties?: Types.CustomProperties; disabled: boolean; active: boolean; elementId?: string; group: GroupFull | null; label: StringUntrusted | string; placeholder: boolean; selected: boolean; value: string; score: number; rank: number; }