Available only in secure contexts.

Hierarchy

  • EventTarget
    • MIDIPort

Properties

id: string
manufacturer: null | string
name: null | string
onstatechange: null | ((this: <internal>.MIDIPort, ev: Event) => any)
version: null | string

Methods

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

Generated using TypeDoc