Browse Source
Merge in VISUAL/fineui from ~DAILER/fineui:master to master * commit '9781752afe11f9cf8b794153d2df6c5ac8939232': 无JIRA chore: 增加BI.Plugin描述es6
Dailer|翠屏山最速下山传说
5 years ago
2 changed files with 18 additions and 0 deletions
@ -0,0 +1,16 @@
|
||||
import {_Widget} from "./widget"; |
||||
|
||||
type configWidgetFn = (options: object) => object |
||||
type configObjectFn = (widget: _Widget) => void |
||||
|
||||
export type _config = (widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]) => void |
||||
|
||||
export type _configWidget = (shorcut: string, widgetFunction: configWidgetFn) => void |
||||
|
||||
export type _registerObject = (shorcut: string, objectFunction: configObjectFn) => void |
||||
|
||||
export type _Plugin = { |
||||
config: _config; |
||||
configWidget: _configWidget; |
||||
registerObject: _registerObject; |
||||
} |
Loading…
Reference in new issue