diff options
Diffstat (limited to 'files/ko/web/events/message/index.html')
-rw-r--r-- | files/ko/web/events/message/index.html | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/files/ko/web/events/message/index.html b/files/ko/web/events/message/index.html new file mode 100644 index 0000000000..1796b8ee0c --- /dev/null +++ b/files/ko/web/events/message/index.html @@ -0,0 +1,152 @@ +--- +title: message +slug: Web/Events/message +translation_of: Web/API/BroadcastChannel/message_event +--- +<p>메시지 이벤트는 메시지가 수신되었음을 알리는 메시지, {{domxref("WebSocket")}}, {{domxref("RTCDataConnection")}} 또는 {{domxref("BroadcastChannel")}} 개체를 알려 줍니다.</p> + +<p>대상이 {{domxref("RTCDataConnection")}}, 인 경우 이 이벤트에 대한 이벤트 핸들러를 {{domxref("RTCDataConnection.onmessage")}}속성을 통해 추가할 수 있습니다.</p> + +<p>대상이 {{domxref("BroadcastChannel")}}인 경우, 이 이벤트에 대한 이벤트 핸들러를 {{domxref("BroadcastChannel.onmessage")}} 속성을 통해 추가할 수 있습니다.</p> + +<h2 id="일반_정보">일반 정보</h2> + +<dl> + <dt style="width: 120px; text-align: right; float: left;">인터페이스</dt> +</dl> + +<dl> + <dd style="margin: 0px 0px 0px 120px;">{{domxref("MessageEvent")}}</dd> + <dt style="width: 120px; text-align: right; float: left;">Bubbles</dt> + <dd style="margin: 0px 0px 0px 120px;">No</dd> + <dt style="width: 120px; text-align: right; float: left;">Cancelable</dt> + <dd style="margin: 0px 0px 0px 120px;">No</dd> + <dt style="width: 120px; text-align: right; float: left;">Target</dt> + <dd style="margin: 0px 0px 0px 120px;">{{domxref("RTCDataChannelEvent")}}, {{domxref("WebSocket")}}, {{domxref("BroadcastChannel")}}</dd> + <dt style="width: 120px; text-align: right; float: left;">Default Action</dt> + <dd style="margin: 0px 0px 0px 120px;">None</dd> +</dl> + +<h2 id="특성">특성</h2> + +<p><em>{{domxref("Event")}}</em>가 진행되는 동안 <em> {{domxref("MessageEvent")}} </em>이러한 속성을 구현합니다.</p> + +<dl> + <dt><code>data</code> {{readOnlyInline}}</dt> + <dd>수신된 메시지를 포함하는 {{domxref("DOMString")}} 가 있습니다.</dd> +</dl> + +<h2 id="방법">방법</h2> + +<p><em>{{domxref("Event")}}</em>가 진행되는 동안 <em> {{domxref("MessageEvent")}} </em>이러한 속성을 구현합니다.</p> + +<h2 id="관련_자료">관련 자료</h2> + +<ul> + <li>{{event("open")}}, {{event("close")}}.</li> +</ul> + +<h2 id="사양">사양</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">사양</th> + <th scope="col">상황</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{ SpecName('WebRTC 1.0', '#event-datachannel-message', 'message on RTCDataChannel') }}</td> + <td>{{Spec2('WebRTC 1.0')}}</td> + <td>{{domxref("RTCDataChannel")}} 를 {{domxref("EventTarget")}}로 추가하고 이 이벤트가 전송될 시기를 정의합니다.</td> + </tr> + <tr> + <td>{{SpecName('HTML WHATWG', '#', 'message on BroadcastChannel')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>{{domxref("RTCDataChannel")}} 를 {{domxref("EventTarget")}}로 추가하고 이 이벤트가 전송될 시기를 정의합니다.</td> + </tr> + </tbody> +</table> + +<h2 id="브라우저_호환성">브라우저 호환성</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Edge</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatVersionUnknown() }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatVersionUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + </tr> + <tr> + <td>on {{domxref("BroadcastChannel")}} {{experimental_inline}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatGeckoDesktop(38)}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Android</th> + <th>Chrome for Android</th> + <th>Edge</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + </tr> + <tr> + <td>on {{domxref("BroadcastChannel")}} {{experimental_inline}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatGeckoMobile(38)}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="보기">보기</h2> + +<ul> + <li><a href="/en-US/docs/Web/Guide/API/WebRTC" title="/en-US/docs/CSS/Using_CSS_animations">WebRTC</a></li> + <li>BroadcastChannel API</li> + <li>WebSockets</li> +</ul> |