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 UI element type.
Parameters
- name — The event name, e.g.
click - data — Arbitrary event data
Related
class TestOutputElement
A class that represents a rendered output element.
