slim-select
Version:
Slim advanced select dropdown
31 lines (30 loc) • 858 B
TypeScript
/// <reference types="node" />
export type SettingsPartial = Partial<Settings>;
export default class Settings {
id: string;
style: string;
class: string[];
isMultiple: boolean;
isOpen: boolean;
triggerFocus: boolean;
intervalMove: NodeJS.Timeout | null;
isEnabled: boolean;
alwaysOpen: boolean;
showSearch: boolean;
searchPlaceholder: string;
searchText: string;
searchingText: string;
searchHighlight: boolean;
closeOnSelect: boolean;
contentLocation: HTMLElement;
contentPosition: 'relative' | 'absolute';
openPosition: 'auto' | 'up' | 'down';
placeholderText: string;
allowDeselect: boolean;
hideSelected: boolean;
showOptionTooltips: boolean;
minSelected: number;
maxSelected: number;
timeoutDelay: number;
constructor(settings?: SettingsPartial);
}