org.scalajs.dom.experimental.serviceworkers
A boolean indicating whether the event bubbles up through the DOM or not.
A boolean indicating whether the event bubbles up through the DOM or not.
MDN
A boolean indicating whether the bubbling of the event has been canceled or not.
A boolean indicating whether the bubbling of the event has been canceled or not.
MDN
A boolean indicating whether the event is cancelable.
A boolean indicating whether the event is cancelable.
MDN
Identifies the current target for the event, as the event traverses the DOM.
Identifies the current target for the event, as the event traverses the DOM. It always refers to the element the event handler has been attached to as opposed to event.target which identifies the element on which the event occurred.
MDN
Returns the event's data.
Returns the event's data. It can be any data type.
Returns a boolean indicating whether or not event.preventDefault() was called on the event.
Returns a boolean indicating whether or not event.preventDefault() was called on the event.
MDN
Indicates which phase of the event flow is currently being evaluated.
Indicates which phase of the event flow is currently being evaluated.
MDN
The initEvent method is used to initialize the value of an event created using document.createEvent.
The initEvent method is used to initialize the value of an event created using document.createEvent.
MDN
Indicates whether or not the event was initiated by the browser (after a user click for instance) or by a script (using an event creation method, like event.initEvent)
Indicates whether or not the event was initiated by the browser (after a user click for instance) or by a script (using an event creation method, like event.initEvent)
MDN
Represents, in server-sent events, the last event ID of the event source.
Returns the origin of the service worker's environment settings object.
It represents the MessagePort array being sent, if any.
Cancels the event if it is cancelable, without stopping further propagation of the event.
Cancels the event if it is cancelable, without stopping further propagation of the event.
MDN
a reference to the service worker that sent the message or null
.
For this particular event, no other listener will be called.
For this particular event, no other listener will be called. Neither those attached on the same element, nor those attached on elements which will be traversed later (in capture phase, for instance)
MDN
Stops the propagation of events further along in the DOM.
Stops the propagation of events further along in the DOM.
MDN
This property of event objects is the object the event was dispatched on.
This property of event objects is the object the event was dispatched on. It is different than event.currentTarget when the event handler is called in bubbling or capturing phase of the event.
MDN
Returns the time (in milliseconds since the epoch) at which the event was created.
Returns the time (in milliseconds since the epoch) at which the event was created.
MDN
The ServiceWorkerMessageEvent interface of the ServiceWorker API contains information about an event sent to a ServiceWorkerContainer target. This extends the default message event to allow setting a ServiceWorker object as the source of a message. The event object is accessed via the handler function of a message event, when fired by a message received from a service worker.
MDN