slim-select
Version:
Slim advanced select dropdown
36 lines (35 loc) • 997 B
TypeScript
export type SettingsPartial = Partial<Settings>;
export default class Settings {
id: string;
style: string;
class: string[];
isMultiple: boolean;
isOpen: boolean;
isFullOpen: boolean;
intervalMove: NodeJS.Timeout | null;
disabled: boolean;
alwaysOpen: boolean;
showSearch: boolean;
focusSearch: boolean;
ariaLabel: string;
searchPlaceholder: string;
searchText: string;
searchingText: string;
searchHighlight: boolean;
closeOnSelect: boolean;
contentLocation: HTMLElement | null;
contentPosition: 'relative' | 'absolute' | 'fixed';
openPosition: 'auto' | 'up' | 'down';
placeholderText: string;
allowDeselect: boolean;
hideSelected: boolean;
keepOrder: boolean;
showOptionTooltips: boolean;
minSelected: number;
maxSelected: number;
timeoutDelay: number;
maxValuesShown: number;
maxValuesMessage: string;
addableText: string;
constructor(settings?: SettingsPartial);
}