* Send messages. * @param widgetId * @param type * @param data
(widgetId: string, type: MessageType, data?: any, messageId?: string)
| 96 | * @param data |
| 97 | */ |
| 98 | emit(widgetId: string, type: MessageType, data?: any, messageId?: string) { |
| 99 | this.messageBridge.emit(type, this.wrapEmitData({ success: true, data: data }), widgetId, messageId); |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Broadcast messages. |
no test coverage detected