-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Right now only setting the onstatechange property is supported
const access = await navigator.requestMIDIAccess()
access.onstatechange = () => {}But the Web Midi API also allows using an event listener:
const access = await navigator.requestMIDIAccess()
access.addEventListener('statechange', () => {})This can be useful if you want to have multiple listeners for the statechange event.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels