UNPKG

choices.js

Version:

A vanilla JS customisable text input/select box plugin

20 lines (18 loc) 610 B
import { StringUntrusted } from './string-untrusted'; import { StringPreEscaped } from './string-pre-escaped'; // eslint-disable-next-line import { Types } from './types'; export interface InputChoice { id?: number; highlighted?: boolean; labelClass?: string | Array<string>; labelDescription?: StringPreEscaped | StringUntrusted | 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; // string; }