tom-select
Version:
Tom Select is a versatile and dynamic <select> UI control. Forked from Selectize.js to provide a framework agnostic autocomplete widget with native-feeling keyboard navigation, it's useful for tagging, contact lists, country selectors, etc.
16 lines (14 loc) • 356 B
text/typescript
export type CBOptions = {
/**
* a unique class name for the checkbox to find the input
*/
className ?: string;
/**
* class name to add if checkbox is checked and remove otherwise
*/
checkedClassNames ?: string[],
/**
* class name to add if checkbox was not checked and remove otherwise
*/
uncheckedClassNames ?: string[],
};