aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/notification/permission/index.html
blob: 30969fb541937bfae49f79743dd18095a53ccda0 (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
---
title: Notification.permission
slug: Web/API/Notification/permission
translation_of: Web/API/Notification/permission
---
<p>{{ ApiRef() }}</p>
<p>{{ SeeCompatTable() }}</p>
<h2 id="Summary" name="Summary">요약</h2>
<p><code>permission</code> 속성은 <span style="line-height: inherit;">웹 알림에 있어서 </span><span style="line-height: inherit;">사용자에 의해 현재 앱에 허가된 현재 권한을 가리킵니다. </span></p>
<h2 id="Syntax" name="Syntax">문법</h2>
<pre class="eval">var <em>permission</em> = Notification.permission;
</pre>
<h3 id="Return_Value" name="Return_Value"></h3>
<p>다음은 현재 권한을 표현하는 문자열입니다.</p>
<ul>
 <li><code>granted</code>: 사용자가 의도하여 어플리케이션이 알림을 보낼 수 있도록 허가.</li>
 <li><code>denied</code>: 사용자가 의도하여 어플리케이션이 알림을 보내는 것을 거부.</li>
 <li><code>default</code>: 사용자의 결정은 알 수 없으나, 어플리케이션 기본적으로 denied 와 같이 동작할 것 입니다.</li>
</ul>
<h2 id="명세">명세</h2>
<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">명세</th>
   <th scope="col">상태</th>
   <th scope="col">비고</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('Web Notifications')}}</td>
   <td>{{Spec2('Web Notifications')}}</td>
   <td>Initial specification.</td>
  </tr>
 </tbody>
</table>
<h2 id="브라우저_호환">브라우저 호환</h2>
<p>{{Page("/en-US/docs/Web/API/Notification","Browser compatibility")}}</p>
<h2 id="See_also">See also</h2>
<ul>
 <li>{{domxref("Notification")}}</li>
 <li><a href="/en-US/docs/WebAPI/Using_Web_Notifications" title="/en-US/docs/WebAPI/Using_Web_Notifications">Using Web Notifications</a></li>
</ul>