Interface MIDIInput

Available only in secure contexts.

MDN Reference

Hierarchy

Properties

id: string
manufacturer: string
name: string
onmidimessage: ((this, ev) => any)

Type declaration

onstatechange: ((this, ev) => any)

Type declaration

version: 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.

    MDN Reference

    Parameters

    Returns boolean