Browse Source
Merge in VISUAL/fineui from ~GUYI/fineui:master to master * commit '47f146bcd36a47328f6280f7b6098b720edf9d41': 无jira任务,补充input描述 无jira任务,去除input描述里的空行 无jira任务,补充input描述es6
Guyi
4 years ago
2 changed files with 47 additions and 0 deletions
@ -0,0 +1,45 @@ |
|||||||
|
import { _Single } from "../single"; |
||||||
|
|
||||||
|
export interface _Input extends _Single { |
||||||
|
onClick(): void; |
||||||
|
|
||||||
|
onKeyDown(keyCode: number): void; |
||||||
|
|
||||||
|
focus(): void; |
||||||
|
|
||||||
|
blur(): void; |
||||||
|
|
||||||
|
selectAll(): void; |
||||||
|
|
||||||
|
setValue(v: string): void; |
||||||
|
|
||||||
|
getValue(): string; |
||||||
|
|
||||||
|
isEditing(): boolean; |
||||||
|
|
||||||
|
getLastValidValue(): string; |
||||||
|
|
||||||
|
getLastChangedValue(): string; |
||||||
|
} |
||||||
|
|
||||||
|
export interface _InputStatic { |
||||||
|
EVENT_CHANGE: string; |
||||||
|
EVENT_FOCUS: string; |
||||||
|
EVENT_CLICK: string; |
||||||
|
EVENT_BLUR: string; |
||||||
|
EVENT_KEY_DOWN: string; |
||||||
|
EVENT_QUICK_DOWN: string; |
||||||
|
EVENT_SPACE: string; |
||||||
|
EVENT_BACKSPACE: string; |
||||||
|
EVENT_START: string; |
||||||
|
EVENT_PAUSE: string; |
||||||
|
EVENT_STOP: string; |
||||||
|
EVENT_CHANGE_CONFIRM: string; |
||||||
|
EVENT_CONFIRM: string; |
||||||
|
EVENT_REMOVE: string; |
||||||
|
EVENT_EMPTY: string; |
||||||
|
EVENT_VALID: string; |
||||||
|
EVENT_ERROR: string; |
||||||
|
EVENT_ENTER: string; |
||||||
|
EVENT_RESTRICT: string; |
||||||
|
} |
Loading…
Reference in new issue