共用方式為


IWidgetConfigurationContext interface

傳遞至小組件組態的物件的介面,以與其主機通訊。

屬性

notify

當小組件配置想要通知任何 WidgetEvents 給主機時,會呼叫這個方法

屬性詳細資料

notify

當小組件配置想要通知任何 WidgetEvents 給主機時,會呼叫這個方法

notify: (event: string, eventArgs: EventArgs<T>) => Promise<NotifyResult>

屬性值

(event: string, eventArgs: EventArgs<T>) => Promise<NotifyResult>