我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

An open event informs the target that a data connection has been established. This event is sent to RTCDataChannel objects when the data connection is opened, and to EventSource objects when a server-sent events connection is ready.

An event handler for this event can be added via the RTCDataChannel.onopen property or EventSource.onopen as appropriate..

General info

Specification
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'open' in that specification.
and HTML Living Standard
The definition of 'open' in that specification.
Interface
RTCDataChannelEvent or Event
Bubbles
No
Cancelable
No
Target
RTCDataChannel or EventSource
Default Action
None

Properties

Being an Event, this event implements only the properties of this interface.

Methods

Being an Event, this event implements only the methods of this interface.

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'open' in that specification.
Candidate Recommendation  
HTML Living Standard
The definition of 'open' in that specification.
Unknown  

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) (Yes) No support (Yes) ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? No support ? ?

See also

文件標籤與貢獻者

此頁面的貢獻者: Sheppy, teoli
最近更新: Sheppy,