diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/window/directories | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/api/window/directories')
-rw-r--r-- | files/zh-cn/web/api/window/directories/index.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/window/directories/index.html b/files/zh-cn/web/api/window/directories/index.html new file mode 100644 index 0000000000..ea480aa14d --- /dev/null +++ b/files/zh-cn/web/api/window/directories/index.html @@ -0,0 +1,34 @@ +--- +title: Window.directories +slug: Web/API/Window/directories +translation_of: Web/API/Window/directories +--- +<p>{{ obsolete_header("2.0") }}</p> + +<p>{{ APIRef() }}</p> + +<h3 id="Summary" name="Summary">概述</h3> + +<p>用于返回 window 下的 personalbar toolbar 对象, 已经过时,请使用 {{ domxref("window.personalbar") }} 来代替该属性。</p> + +<h3 id="Syntax" name="Syntax">语法</h3> + +<pre class="javascript">var <var>dirBar</var> = window.directories; +</pre> + +<h3 id="Parameters" name="Parameters">参数</h3> + +<p><var>dirBar</var> 是 <code>BarProp</code> 类型的对象。</p> + +<h3 id="Example" name="Example">例子</h3> + +<pre><script> + function dirs() { + alert(window.directories); + } +</script> +</pre> + +<h3 id="Specification" name="Specification">规范</h3> + +<p>不属于任何规范。</p> |