slim-select
Version:
Slim advanced select dropdown
44 lines (43 loc) • 1.21 kB
TypeScript
export type ModalSetting = 'off' | 'on' | 'mobile';
export declare const MODAL_MOBILE_BREAKPOINT = 768;
export default class Settings {
id: string;
style: string;
class: string[];
isMultiple: boolean;
isOpen: boolean;
isFullOpen: boolean;
disabled: boolean;
alwaysOpen: boolean;
showSearch: boolean;
focusSearch: boolean;
keepSearch: boolean;
ariaLabel: string;
searchPlaceholder: string;
searchText: string;
searchingText: string;
resultsText: string;
deselectText: string;
removeText: string;
searchHighlight: boolean;
closeOnSelect: boolean;
contentLocation: HTMLElement | null;
contentPosition: 'relative' | 'absolute' | 'fixed';
contentWidth: string;
openPosition: 'auto' | 'up' | 'down';
placeholderText: string;
allowDeselect: boolean;
hideSelected: boolean;
multiString: boolean;
keepOrder: boolean;
showOptionTooltips: boolean;
minSelected: number;
maxSelected: number;
timeoutDelay: number;
maxValuesShown: number;
maxValuesMessage: string;
addableText: string;
modal: ModalSetting;
modalTitle: string;
constructor(settings?: Partial<Settings>);
}