diff options
Diffstat (limited to 'files/zh-cn/mozilla/tech/xul/attribute/control/index.html')
-rw-r--r-- | files/zh-cn/mozilla/tech/xul/attribute/control/index.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/control/index.html b/files/zh-cn/mozilla/tech/xul/attribute/control/index.html new file mode 100644 index 0000000000..74a0edec5a --- /dev/null +++ b/files/zh-cn/mozilla/tech/xul/attribute/control/index.html @@ -0,0 +1,23 @@ +--- +title: control +slug: Mozilla/Tech/XUL/Attribute/control +tags: + - XUL Attributes + - XUL Reference +translation_of: Archive/Mozilla/XUL/Attribute/control +--- +<div class="noinclude"> + <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div> +<dl> + <dt> + <code id="a-control"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/control">control</a></code></dt> + <dd> + Type: <em>element id</em></dd> + <dd> + This attribute specifies the <code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code> of the element with which the label is associated. When the user clicks on the label, the associated element is given focus.<br> + 这个属性定义了元素的<code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code>,它与<code id="a-label"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/label">label</a></code>相关联。当用户点击 <code id="a-label"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/label">label</a></code> 的时候,相关联的元素将获得焦点。</dd> +</dl> +<div class="noinclude"> + <p></p> +</div> +<p> </p> |