Disposal of a DomEventHost removes all listeners.
Returns true if the event host has any listeners.
Returns true if the event host has any listeners for the given type.
Returns a promise that resolves when the network state is next online.
Rejects immediately if the given abortSignal is in an aborted state.
Resolves immediately if the navigator is currently online.
Optionalabort: Maybe<ReadonlyAbort>If provided, rejects the returned promise when aborted.
Adds an event handler for the given typed event.
A case-sensitive string representing the event type to listen for.
A callback to invoke when the event with the given type is dispatched.
Optionaloptions: DomEventListenerOptionsAn options object specifies characteristics about the event listener.
Returns a method, when invoked, removes the handler.
Staticcreate
Online status.