Browse Source

无JIRA任务 refactor: 补充类型

es6
youki 3 years ago
parent
commit
dda367a70b
  1. 10
      typescript/base/single/editor/editor.ts

10
typescript/base/single/editor/editor.ts

@ -3,6 +3,16 @@ import { Single } from "../single";
export declare class Editor extends Single { export declare class Editor extends Single {
static xtype: string; static xtype: string;
props: {
inputType?: string;
validationChecker?: Function;
quitChecker?: Function
allowBlank?: boolean;
watermark?: string;
errorText?: string | ((v: string) => string);
autocomplete?: string;
} & Single['props']
static EVENT_CHANGE: string; static EVENT_CHANGE: string;
static EVENT_FOCUS: string; static EVENT_FOCUS: string;
static EVENT_BLUR: string; static EVENT_BLUR: string;

Loading…
Cancel
Save