Liking cljdoc? Tell your friends :D
ClojureScript only.

rtc.RTCDataChannelEvent

The RTCDataChannelEvent() constructor returns a new rtc.RTCDataChannelEvent which represents a web.datachannel event. These events sent an rtc.RTCPeerConnection when its remote peer is asking to an rtc.RTCDataChannel between the two peers.

The RTCDataChannelEvent() constructor returns a new `rtc.RTCDataChannelEvent`
which represents a `web.datachannel` event. These events sent
an `rtc.RTCPeerConnection` when its remote peer is asking to
an `rtc.RTCDataChannel` between the two peers.
raw docstring

channelcljs

(channel this)

Property.

The read-only property RTCDataChannelEvent.channel returns the associated with the event.

var channel = RTCDataChannelEvent.channel;

See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/channel

Property.

The read-only property RTCDataChannelEvent.channel returns the
associated with the event.

`var channel = RTCDataChannelEvent.channel;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/channel`
sourceraw docstring

constructorcljs

Constructor.

The RTCDataChannelEvent() constructor creates a new rtc.RTCDataChannelEvent.

type A dom.DOMString which specifies the name of the event. There is only one type of RTCDataChannelEvent, so this will always be "datachannel". rtcDataChannelEventInit A RTCDataChannelEventInit dictionary, which has following fields:

"channel" of type rtc.RTCDataChannel, representing the data channel being concerned by the event. "bubbles", optional, inherited from EventInit. Indicates if the event must bubble or not. Default is false. "cancelable", optional, inherited from EventInit. Indicates if the event can be canceled or not. Default is false.

See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/RTCDataChannelEvent

Constructor.

The RTCDataChannelEvent() constructor creates a new `rtc.RTCDataChannelEvent`.

type
A `dom.DOMString` which specifies the name of the event. There is only one type of RTCDataChannelEvent, so this will always be \"datachannel\".
rtcDataChannelEventInit
A RTCDataChannelEventInit dictionary, which has following fields:

\"channel\" of type `rtc.RTCDataChannel`, representing the data channel being concerned by the event.
\"bubbles\", optional, inherited from EventInit. Indicates if the event must bubble or not. Default is false.
\"cancelable\", optional, inherited from EventInit. Indicates if the event can be canceled or not. Default is false.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/RTCDataChannelEvent`
sourceraw docstring

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

× close