diff options
author | alattalatta <alattalatta@sorto.me> | 2022-02-21 10:04:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 10:04:22 +0900 |
commit | 201f55848d4b15e4e59ab32b2bd1a4e1caa4db3a (patch) | |
tree | 863ddc787ec9219f452ab577d399439ffe66c51b /files/ko/web/api/notification | |
parent | 0ea2400f310ae8ebb2bfd6579d5e812547360061 (diff) | |
download | translated-content-201f55848d4b15e4e59ab32b2bd1a4e1caa4db3a.tar.gz translated-content-201f55848d4b15e4e59ab32b2bd1a4e1caa4db3a.tar.bz2 translated-content-201f55848d4b15e4e59ab32b2bd1a4e1caa4db3a.zip |
Remove {{page}} macro from API docs (#3913)
* Update BatteryManager
* Update BiquadFilterNode
* Update DataTransfer.getData
* Update DragEvent
* Update FileReader.result
* Update Geolocation API
* Update Network Information API
* Update Notification.permission
* Update Screen
* Remove {{page}} from Document
* Remove {{page}} from Navigator.battery
* Remove {{page}} from Using the Notifications API
* Add {{Compat}} to Navigator.battery
Diffstat (limited to 'files/ko/web/api/notification')
-rw-r--r-- | files/ko/web/api/notification/permission/index.html | 43 | ||||
-rw-r--r-- | files/ko/web/api/notification/permission/index.md | 43 |
2 files changed, 43 insertions, 43 deletions
diff --git a/files/ko/web/api/notification/permission/index.html b/files/ko/web/api/notification/permission/index.html deleted file mode 100644 index 30969fb541..0000000000 --- a/files/ko/web/api/notification/permission/index.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -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> diff --git a/files/ko/web/api/notification/permission/index.md b/files/ko/web/api/notification/permission/index.md new file mode 100644 index 0000000000..f4248e6f1e --- /dev/null +++ b/files/ko/web/api/notification/permission/index.md @@ -0,0 +1,43 @@ +--- +title: Notification.permission +slug: Web/API/Notification/permission +tags: + - API + - Notification + - Notifications + - Notifications API + - Property + - Reference +browser-compat: api.Notification.permission +translation_of: Web/API/Notification/permission +--- +{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}} + +`permission` 속성은 웹 알림에 있어서 사용자에 의해 현재 앱에 허가된 현재 권한을 가리킵니다. + +## 구문 + +```js +var permission = Notification.permission; +``` + +### 값 + +다음은 현재 권한을 표현하는 문자열입니다. + +- `granted`: 사용자가 의도하여 어플리케이션이 알림을 보낼 수 있도록 허가. +- `denied`: 사용자가 의도하여 어플리케이션이 알림을 보내는 것을 거부. +- `default`: 사용자의 결정은 알 수 없으나, 어플리케이션 기본적으로 denied 와 같이 동작할 것 입니다. + +## 명세 + +{{Specifications}} + +## 브라우저 호환성 + +{{Compat}} + +## 같이 보기 + +- {{domxref("Notification")}} +- [Using Web Notifications](/en-US/docs/WebAPI/Using_Web_Notifications "/en-US/docs/WebAPI/Using_Web_Notifications") |