sendGlobalEvent
Send global events to the front end through the client, and the front end can listen to the event through GlobalEventEmitter.
Syntax
Harmony
Parameters
name: Global event name.params: Parameters carried by global events.
Compatibility
LCD tables only load in the browser