Type alias EventConsumer<EventMap>
EventConsumer<EventMap>: { addListener<EventName>(type,
callback): (() => void); removeListener<EventName>(type,
callback): void; } Type declaration
addListener:function
- addListener<EventName>(type, callback): (() => void)
Returns (() => void)
removeListener:function
- removeListener<EventName>(type, callback): void
Returns void
Subscribe to events from the parent navigator.