sendPlatformEvent
Handles the specified (simulated) platform event.
sendPlatformEvent: (name: TestOutputElement.PlatformEvent, data?: any) => this
Notes
- Event names are based on DOM events, but the data object isn’t DOM specific.
- This method is overridden by the renderer for the specific component type.
Parameters
- _name — The event name, e.g.
click
- _data — Arbitrary event data
Related
- class TestOutputElementA class that represents a rendered output element.