survey-core
Version:
survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.
38 lines (37 loc) • 1.59 kB
TypeScript
import { IAction } from "./actions/action";
import { DropdownListModel } from "./dropdownListModel";
import { ItemValue } from "./itemvalue";
import { MultiSelectListModel } from "./multiSelectListModel";
import { Question } from "./question";
export declare class DropdownMultiSelectListModel extends DropdownListModel {
filterStringPlaceholder: string;
closeOnSelect: boolean;
locStrsChanged(): void;
private updateListState;
private syncFilterStringPlaceholder;
private getSelectedActions;
protected getFocusFirstInputSelector(): string;
protected getPopupCssClasses(): string;
protected createListModel(): MultiSelectListModel<ItemValue>;
protected resetFilterString(): void;
previousValue: any;
doneButtonCaption: string;
private get shouldResetAfterCancel();
protected createPopup(): void;
selectAllItems(): void;
selectNoneItem(): void;
selectItem(id: string): void;
deselectItem(id: string): void;
clear(): void;
onClear(event: any): void;
setHideSelectedItems(newValue: boolean): void;
removeLastSelectedItem(): void;
constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any[]) => void);
inputKeyHandler(event: any): void;
setInputStringFromSelectedItem(newValue: any): void;
protected focusItemOnClickAndPopup(): void;
protected onEscape(): void;
protected beforeScrollToFocusedItem(focusedItem: ItemValue): void;
protected afterScrollToFocusedItem(): void;
protected onPropertyChangedHandler(sender: any, options: any): void;
}