Available only in secure contexts.

Hierarchy

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

  • Parameters

    • data: number[]
    • Optional timestamp: number

    Returns void

Generated using TypeDoc