UNPKG

survey-creator-core

Version:

A framework-independent core package of the SurveyJS Survey Creator component. With Survey Creator, you can visually design complex, interactive JSON forms and surveys in a drag-and-drop interface.

31 lines (30 loc) 1.03 kB
import { QuestionTextModel } from "survey-core"; export declare class QuestionSpinEditorModel extends QuestionTextModel { unit: string; changeValueOnPressing: boolean; private _showUnitsInEditor; private parseValue; private changeValue; private get showUnitsInEditor(); private correctValue; protected setNewValue(newValue: string | number): void; get renderedValue(): string; private increase; decrease(): void; private increaseTimer; private decreaseTimer; private clearTimers; onUpButtonMouseDown: () => void; onDownButtonMouseDown: () => void; onUpButtonClick: () => void; onDownButtonClick: () => void; onButtonMouseLeave: () => void; onButtonMouseUp: () => void; onKeyDown: (event: KeyboardEvent) => void; onInputKeyDown: (event: KeyboardEvent) => void; onBeforeInput(event: InputEvent): void; onFocus: (event: Event) => void; onBlur: (event: Event) => void; getType(): string; get isInputTextUpdate(): boolean; }