UNPKG

choices.js

Version:

A vanilla JS customisable text input/select box plugin

18 lines (16 loc) 477 B
import { StringUntrusted } from './string-untrusted'; import { Types } from './types'; export interface InputChoice { id?: number; highlighted?: boolean; labelClass?: string | Array<string>; labelDescription?: string; customProperties?: Types.CustomProperties; disabled?: boolean; active?: boolean; label: StringUntrusted | string; placeholder?: boolean; selected?: boolean; // eslint-disable-next-line @typescript-eslint/no-explicit-any value: any; }