sendGlobalEvent

Send global events to the front end through the client, and the front end can listen to the event through GlobalEventEmitter.

Syntax

Harmony

sendGlobalEvent(name: string, params: Object[]): void;

Parameters

  • name: Global event name.
  • params: Parameters carried by global events.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.