Browse Source

Merge pull request #1245 in VISUAL/fineui from ~KIRA/fineui:master to master

* commit '91fe4a03fcafcfdda2b2b720f6c60ac1d7aa34f5':
  refactor: 变量声明改成string
  无jira任务refactor: basic button事件声明
es6
windy 5 years ago
parent
commit
f8b6bd3636
  1. 2
      typescript/base/pane.ts
  2. 4
      typescript/base/single/button/button.basic.ts
  3. 4
      typescript/index.ts

2
typescript/base/pane.ts

@ -8,5 +8,5 @@ export interface _Pane extends _Widget {
}
export interface _PaneStatic {
EVENT_LOADED: "EVENT_LOADED";
EVENT_LOADED: string;
}

4
typescript/base/single/button/button.basic.ts

@ -31,3 +31,7 @@ export interface _BasicButton extends _Single {
isDisableSelected(): boolean;
}
export interface _BasicButtonStatic {
EVENT_CHANGE: string;
}

4
typescript/index.ts

@ -6,7 +6,7 @@ import { _func } from "./core/func";
import { _Widget, _WidgetStatic } from "./core/widget";
import { _Single } from "./base/single/single";
import { _base } from "./core/base";
import { _BasicButton } from "./base/single/button/button.basic";
import { _BasicButton, _BasicButtonStatic } from "./base/single/button/button.basic";
import { _Trigger } from "./base/single/trigger/trigger";
import { _Action, _ActionFactory } from "./core/action/action";
import { _ShowAction } from "./core/action/action.show";
@ -26,7 +26,7 @@ export interface BI extends _func, _i18n, _base {
OB: ClassConstructor<_OB>;
Widget: ClassConstructor<_Widget> & _WidgetStatic;
Single: ClassConstructor<_Single>;
BasicButton: ClassConstructor<_BasicButton>;
BasicButton: ClassConstructor<_BasicButton> & _BasicButtonStatic;
Trigger: ClassConstructor<_Trigger>;
Action: ClassConstructor<_Action>;
ActionFactory: ClassConstructor<_ActionFactory>;

Loading…
Cancel
Save