Liking cljdoc? Tell your friends :D
ClojureScript only.

web.midi.MIDIConnectionEvent

The MIDIConnectionEvent interface of the Web MIDI API is the passed to the onstatechange event of the web.midi.MIDIAccess and the onstatechange event of the MIDIPorts interface. This any time a new port becomes available, or when a previously available becomes unavailable. For example, this event is fired whenever MIDI device is either plugged in to or unplugged from a computer.

The MIDIConnectionEvent interface of the Web MIDI API is the
passed to the `onstatechange` event of the `web.midi.MIDIAccess`
and the `onstatechange` event of the `MIDIPorts` interface. This
any time a new port becomes available, or when a previously available
becomes unavailable. For example, this event is fired whenever
MIDI device is either plugged in to or unplugged from a computer.
raw docstring

portcljs

(port this)

Property.

Returns a reference to a MIDIPort instance for a port that has connected or disconnected."

Property.

Returns a reference to a MIDIPort instance for a port that has
connected or disconnected."
sourceraw docstring

set-port!cljs

(set-port! this val)

Property.

Returns a reference to a MIDIPort instance for a port that has connected or disconnected."

Property.

Returns a reference to a MIDIPort instance for a port that has
connected or disconnected."
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close