forked from fanruan/fineui
alan
5 years ago
6 changed files with 46 additions and 0 deletions
@ -0,0 +1,5 @@
|
||||
import { _Action } from "./action"; |
||||
|
||||
export interface _ShowAction extends _Action { |
||||
|
||||
} |
@ -0,0 +1,11 @@
|
||||
import { _OB } from "../ob"; |
||||
|
||||
export interface _Action extends _OB { |
||||
actionPerformed(src: any, tar: any, callback: Function): void; |
||||
|
||||
actionBack(tar: any, src: any, callback: Function): void; |
||||
} |
||||
|
||||
export interface _ActionFactory { |
||||
createAction(key: string, options: any): _Action; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { _Behavior } from "./behavior"; |
||||
export interface _HighlightBehavior extends _Behavior { |
||||
|
||||
} |
@ -0,0 +1,4 @@
|
||||
import { _Behavior } from "./behavior"; |
||||
export interface _RedMarkBehavior extends _Behavior { |
||||
|
||||
} |
@ -0,0 +1,9 @@
|
||||
import { _OB } from "../ob"; |
||||
|
||||
export interface _Behavior extends _OB { |
||||
doBehavior(items: any[]): void; |
||||
} |
||||
|
||||
export interface _BehaviorFactory { |
||||
createBehavior(key: string, options: any): _Behavior; |
||||
} |
Loading…
Reference in new issue