onclose
Summary
An event listener to be called when an RTCDataChannel is closed.
Property of apis/webrtc/RTCDataChannelapis/webrtc/RTCDataChannel
Syntax
var result = object.onclose;
object.onclose = value;
Return Value
Returns an object of type
EventHandler
Related specifications
- W3C Web RTC Specification
- W3C Editor’s Draft