diff options
Diffstat (limited to 'files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html')
-rw-r--r-- | files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html b/files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html new file mode 100644 index 0000000000..5b8540dd96 --- /dev/null +++ b/files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html @@ -0,0 +1,43 @@ +--- +title: PushManager.supportedContentEncodings +slug: Web/API/PushManager/supportedContentEncodings +translation_of: Web/API/PushManager/supportedContentEncodings +--- +<p>{{SeeCompatTable}}{{APIRef("Push API")}}</p> + +<p>{{domxref("PushManager")}}的只读方法 <strong><code>supportedContentEncodings</code></strong> 返回一组支持内容编码,可以用在加密信息中发送的消息。</p> + +<h2 id="语法">语法</h2> + +<pre class="syntaxbox">var <em>encodings</em>[] = PushManager.<em>supportedContentEncodings</em></pre> + +<h3 id="值">值</h3> + +<p>一个字符串数组</p> + +<h2 id="说明">说明</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">说明</th> + <th scope="col">状态</th> + <th scope="col">注释</th> + </tr> + <tr> + <td>{{SpecName('Push API','#dom-pushmanager-supportedcontentencodings','supportedContentEncodings')}}</td> + <td>{{Spec2('Push API')}}</td> + <td>最初的定义</td> + </tr> + </tbody> +</table> + +<h2 id="支持的浏览器">支持的浏览器</h2> + +<div> +<div> + + +<p>{{Compat("api.PushManager.supportedContentEncodings")}}</p> +</div> +</div> |