fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
1.0 KiB

import { _Single } from "../single";
export interface _Editor extends _Single {
setErrorText(v: string): void;
getErrorText(): string;
setWaterMark(v: string): void;
disableError(): void;
enableError(): void;
disableWaterMark(): void;
enableWaterMark(): void;
focus(): void;
blur(): void;
selectAll(): void;
onKeyDown(keyCode: number): void;
getValue(): string;
getLastValidValue(): string;
getLastChangedValue(): string;
isEditing(): boolean;
isValid(): boolean;
}
export interface _EditorStatic {
EVENT_CHANGE: string;
EVENT_FOCUS: string;
EVENT_BLUR: string;
EVENT_CLICK: string;
EVENT_KEY_DOWN: string;
EVENT_SPACE: string;
EVENT_BACKSPACE: string;
EVENT_START: string;
EVENT_PAUSE: string;
EVENT_STOP: string;
EVENT_CONFIRM: string;
EVENT_CHANGE_CONFIRM: string;
EVENT_VALID: string;
EVENT_ERROR: string;
EVENT_ENTER: string;
EVENT_RESTRICT: string;
EVENT_REMOVE: string;
EVENT_EMPTY: string;
}