USBConnectionEvent

Constructors

Link copied to clipboard
constructor(type: EventType<USBConnectionEvent>, init: USBConnectionEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The bubbles read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.

Link copied to clipboard
Link copied to clipboard

The cancelable read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.

Link copied to clipboard
Link copied to clipboard

The read-only composed property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.

Link copied to clipboard

The currentTarget read-only property of the Event interface identifies the element to which the event handler has been attached.

Link copied to clipboard

The defaultPrevented read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.

Link copied to clipboard
Link copied to clipboard

The eventPhase read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.

Link copied to clipboard

The isTrusted read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent().

Link copied to clipboard
Link copied to clipboard

The read-only target property of the Event interface is a reference to the object onto which the event was dispatched.

Link copied to clipboard

The timeStamp read-only property of the Event interface returns the time (in milliseconds) at which the event was created.

Link copied to clipboard
open override val type: EventType<USBConnectionEvent>

Functions

Link copied to clipboard
Link copied to clipboard

The composedPath() method of the Event interface returns the event's path which is an array of the objects on which listeners will be invoked.

Link copied to clipboard

The preventDefault() method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.

Link copied to clipboard

The stopImmediatePropagation() method of the Event interface prevents other listeners of the same event from being called.

Link copied to clipboard

The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.