* Synchronize the action to the specified widget. * @param widgetId * @param action
(widgetId: string, action: AnyAction, messageId?: string)
| 274 | * @param action |
| 275 | */ |
| 276 | syncAction(widgetId: string, action: AnyAction, messageId?: string) { |
| 277 | this.emit(widgetId, MessageType.MAIN_SYNC_ACTION, action, messageId); |
| 278 | } |
| 279 | |
| 280 | onFetchDatasheet(widgetId: string, callback: (fetchDatasheet: IFetchDatasheet, messageId?: string) => void) { |
| 281 | this.on(widgetId, MessageType.WIDGET_FETCH_DATASHEET, callback); |
no test coverage detected