Namespace for events that can emitted on the HTMLElement of the Layout container.
Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
Note that the Layout DOM events are emitted on the Layout container element itself, and not globally typed. To
introduce your own typing, you can declare these events in a separate d.ts file and augment the GlobalEventHandlersEventMap:
Namespace for events that can emitted on the HTMLElement of the Layout container.
Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
Note that the Layout DOM events are emitted on the Layout container element itself, and not globally typed. To introduce your own typing, you can declare these events in a separate d.ts file and augment the GlobalEventHandlersEventMap:
Then, make sure this is included in your tsconfig.json:
Now you will be able to get typed event listeners when using
container.addEventListener
on the Layout container element.