aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/broadcastchannel/message_event/index.html
blob: 1796b8ee0cd5de54d4a0a70663681f5bdbbd5595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
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>