choices.js
Version:
A vanilla JS customisable text input/select box plugin
17 lines (16 loc) • 527 B
TypeScript
import { StringUntrusted } from './string-untrusted';
import { StringPreEscaped } from './string-pre-escaped';
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;
value: any;
}