aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/directories/index.html
blob: ea480aa14dc9d7f675cb46d8336693bf110b676e (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
---
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>&lt;script&gt;
 function dirs() {
  alert(window.directories);
 }
&lt;/script&gt;
</pre>

<h3 id="Specification" name="Specification">规范</h3>

<p>不属于任何规范。</p>