survey-creator-knockout
Version:
Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.
14 lines (13 loc) • 409 B
TypeScript
import * as ko from "knockout";
import { ItemValue } from "survey-core";
export declare class DropdownEditorViewModel {
question: any;
hasValue: ko.Computed<boolean>;
koValue: ko.Observable<any>;
isExpanded: ko.Observable<boolean>;
isFocused: ko.Observable<boolean>;
constructor(question: any);
selectItem: (itemValue: ItemValue) => void;
toggle(): void;
onBlur(): void;
}