diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 21:46:22 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 21:46:22 -0500 |
commit | a065e04d529da1d847b5062a12c46d916408bf32 (patch) | |
tree | fe0f8bcec1ff39a3c499a2708222dcf15224ff70 /files/zh-cn/mozilla/tech/xul/method | |
parent | 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (diff) | |
download | translated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.gz translated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.bz2 translated-content-a065e04d529da1d847b5062a12c46d916408bf32.zip |
update based on https://github.com/mdn/yari/issues/2028
Diffstat (limited to 'files/zh-cn/mozilla/tech/xul/method')
8 files changed, 0 insertions, 281 deletions
diff --git a/files/zh-cn/mozilla/tech/xul/method/extra1/index.html b/files/zh-cn/mozilla/tech/xul/method/extra1/index.html deleted file mode 100644 index 33546b4a30..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/extra1/index.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: extra1 -slug: Mozilla/Tech/XUL/Method/extra1 -translation_of: Archive/Mozilla/XUL/Method/extra1 ---- -<div class="noinclude"> - <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span></div> -<dl> - <dt> - <span id="m-extra1"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/extra1">extra1()</a></code></span></dt> - <dd> - 返回值类型:无返回值</dd> - <dd> - 调用该方法可以模拟对extra1按钮的点击,同时也会触发并执行该元素的<code id="a-onextra1"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/onextra1">onextra1</a></code>属性上设置的代码.</dd> -</dl> diff --git a/files/zh-cn/mozilla/tech/xul/method/focus/index.html b/files/zh-cn/mozilla/tech/xul/method/focus/index.html deleted file mode 100644 index 690ba10358..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/focus/index.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: focus -slug: Mozilla/Tech/XUL/Method/focus -translation_of: Archive/Mozilla/XUL/Method/focus ---- -<div class="noinclude"> - <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span></div> -<dl> - <dt> - <span id="m-focus"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/focus">focus()</a></code></span></dt> - <dd> - 返回值类型: 无返回值</dd> - <dd> - 让指定的元素获得键盘焦点.</dd> -</dl> diff --git a/files/zh-cn/mozilla/tech/xul/method/getbrowserfortab/index.html b/files/zh-cn/mozilla/tech/xul/method/getbrowserfortab/index.html deleted file mode 100644 index 483579d074..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/getbrowserfortab/index.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: getBrowserForTab -slug: Mozilla/Tech/XUL/Method/getBrowserForTab -translation_of: Archive/Mozilla/XUL/Method/getBrowserForTab ---- -<div class="noinclude"> - <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span></div> -<dl> - <dt> - <span id="m-getBrowserForTab"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/getBrowserForTab">getBrowserForTab( tab )</a></code></span></dt> - <dd> - 返回值类型: <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/browser" title="browser">browser</a></code>元素</dd> - <dd> - 返回于指定的<code><a href="/zh-CN/docs/Mozilla/Tech/XUL/tab" title="tab">tab</a></code>元素相关联的<code><a href="/zh-CN/docs/Mozilla/Tech/XUL/browser" title="browser">browser</a></code>元素.</dd> -</dl> diff --git a/files/zh-cn/mozilla/tech/xul/method/getbutton/index.html b/files/zh-cn/mozilla/tech/xul/method/getbutton/index.html deleted file mode 100644 index 11b4f91e6d..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/getbutton/index.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: getButton -slug: Mozilla/Tech/XUL/Method/getButton -translation_of: Archive/Mozilla/XUL/Method/getButton ---- -<div class="noinclude"> - <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span></div> -<dl> - <dt> - <span id="m-getButton"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/getButton">getButton( type )</a></code></span></dt> - <dd> - 返回值类型: <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/button" title="button">button</a></code>元素</dd> - <dd> - 返回当前对话框中指定类型的<code><a href="/zh-CN/docs/Mozilla/Tech/XUL/button" title="button">button</a></code>元素.</dd> -</dl> diff --git a/files/zh-cn/mozilla/tech/xul/method/increase/index.html b/files/zh-cn/mozilla/tech/xul/method/increase/index.html deleted file mode 100644 index b7431b355b..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/increase/index.html +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: increase -slug: Mozilla/Tech/XUL/Method/increase -translation_of: Archive/Mozilla/XUL/Method/increase ---- -<div class="noinclude"> - <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span></div> -<div class="noinclude"> - <dl> - <dd> - 拥有该方法的元素类型: <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/scale" title="scale">scale</a></code> <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/textbox" title="textbox">textbox</a></code></dd> - </dl> -</div> -<dl> - <dt> - <span id="m-increase"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/increase">increase()</a></code></span></dt> - <dd> - 返回值类型: 无返回值</dd> - <dd> - 增大刻度条控件(scale元素)或者数字输入框控件(type属性为number的textbox元素)中的数字值(按照其<code id="a-increment"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/increment">increment</a></code>属性指定的值).</dd> -</dl> diff --git a/files/zh-cn/mozilla/tech/xul/method/index.html b/files/zh-cn/mozilla/tech/xul/method/index.html deleted file mode 100644 index e5d7d023c0..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/index.html +++ /dev/null @@ -1,170 +0,0 @@ ---- -title: Methods -slug: Mozilla/Tech/XUL/Method -tags: - - XUL Methods -translation_of: Archive/Mozilla/XUL/Method ---- -<p><span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span> </p> -<ul><li> <a href="cn/XUL/Method/acceptDialog">acceptDialog</a> -</li><li> <a href="cn/XUL/Method/addItemToSelection">addItemToSelection</a> -</li><li> <a href="cn/XUL/Method/addPane">addPane</a> -</li><li> <a href="cn/XUL/Method/addProgressListener">addProgressListener</a> -</li><li> <a href="cn/XUL/Method/addSession">addSession</a> -</li><li> <a href="cn/XUL/Method/addTab">addTab</a> -</li><li> <a href="cn/XUL/Method/advance">advance</a> -</li><li> <a href="cn/XUL/Method/advanceSelectedTab">advanceSelectedTab</a> -</li><li> <a href="cn/XUL/Method/appendCustomToolbar">appendCustomToolbar</a> -</li><li> <a href="cn/XUL/Method/appendGroup">appendGroup</a> -</li><li> <a href="cn/XUL/Method/appendItem">appendItem</a> -</li><li> <a href="cn/XUL/Method/appendNotification">appendNotification</a> -</li><li> <a href="cn/XUL/Method/blur">blur</a> -</li><li> <a href="cn/XUL/Method/cancel">cancel</a> -</li><li> <a href="cn/XUL/Method/cancelDialog">cancelDialog</a> -</li><li> <a href="cn/XUL/Method/centerWindowOnScreen">centerWindowOnScreen</a> -</li><li> <a href="cn/XUL/Method/checkAdjacentElement">checkAdjacentElement</a> -</li><li> <a href="cn/XUL/Method/clearResults">clearResults</a> -</li><li> <a href="cn/XUL/Method/clearSelection">clearSelection</a> -</li><li> <a href="cn/XUL/Method/click">click</a> -</li><li> <a href="cn/XUL/Method/close">close</a> -</li><li> <a href="cn/XUL/Method/collapseToolbar">collapseToolbar</a> -</li><li> <a href="cn/XUL/Method/contains">contains</a> -</li><li> <a href="cn/XUL/Method/decrease">decrease</a> -</li><li> <a href="cn/XUL/Method/decreasePage">decreasePage</a> -</li><li> <a href="cn/XUL/Method/doCommand">doCommand</a> -</li><li> <a href="cn/XUL/Method/ensureElementIsVisible">ensureElementIsVisible</a> -</li><li> <a href="cn/XUL/Method/ensureIndexIsVisible">ensureIndexIsVisible</a> -</li><li> <a href="cn/XUL/Method/ensureSelectedElementIsVisible">ensureSelectedElementIsVisible</a> -</li><li> <a href="cn/XUL/Method/expandToolbar">expandToolbar</a> -</li><li> <a href="cn/XUL/Method/extra1">extra1</a> -</li><li> <a href="cn/XUL/Method/extra2">extra2</a> -</li><li> <a href="cn/XUL/Method/focus">focus</a> -</li><li> <a href="cn/XUL/Method/getBrowserAtIndex">getBrowserAtIndex</a> -</li><li> <a href="cn/XUL/Method/getBrowserForDocument">getBrowserForDocument</a> -</li><li> <a href="cn/XUL/Method/getBrowserForTab">getBrowserForTab</a> -</li><li> <a href="cn/XUL/Method/getBrowserIndexForDocument">getBrowserIndexForDocument</a> -</li><li> <a href="cn/XUL/Method/getButton">getButton</a> -</li><li> <a href="cn/XUL/Method/getDefaultSession">getDefaultSession</a> -</li><li> <a href="cn/XUL/Method/getEditor">getEditor</a> -</li><li> <a href="cn/XUL/Method/getElementsByAttribute">getElementsByAttribute</a> -</li><li> <a href="cn/XUL/Method/getFormattedString">getFormattedString</a> -</li><li> <a href="cn/XUL/Method/getHTMLEditor">getHTMLEditor</a> -</li><li> <a href="cn/XUL/Method/getIndexOfFirstVisibleRow">getIndexOfFirstVisibleRow</a> -</li><li> <a href="cn/XUL/Method/getIndexOfItem">getIndexOfItem</a> -</li><li> <a href="cn/XUL/Method/getItemAtIndex">getItemAtIndex</a> -</li><li> <a href="cn/XUL/Method/getNextItem">getNextItem</a> -</li><li> <a href="cn/XUL/Method/getNotificationBox">getNotificationBox</a> -</li><li> <a href="cn/XUL/Method/getNotificationWithValue">getNotificationWithValue</a> -</li><li> <a href="cn/XUL/Method/getNumberOfVisibleRows">getNumberOfVisibleRows</a> -</li><li> <a href="cn/XUL/Method/getPageById">getPageById</a> -</li><li> <a href="cn/XUL/Method/getPreviousItem">getPreviousItem</a> -</li><li> <a href="cn/XUL/Method/getResultAt">getResultAt</a> -</li><li> <a href="cn/XUL/Method/getResultCount">getResultCount</a> -</li><li> <a href="cn/XUL/Method/getResultValueAt">getResultValueAt</a> -</li><li> <a href="cn/XUL/Method/getRowCount">getRowCount</a> -</li><li> <a href="cn/XUL/Method/getSearchAt">getSearchAt</a> -</li><li> <a href="cn/XUL/Method/getSelectedItem">getSelectedItem</a> -</li><li> <a href="cn/XUL/Method/getSession">getSession</a> -</li><li> <a href="cn/XUL/Method/getSessionByName">getSessionByName</a> -</li><li> <a href="cn/XUL/Method/getSessionResultAt">getSessionResultAt</a> -</li><li> <a href="cn/XUL/Method/getSessionStatusAt">getSessionStatusAt</a> -</li><li> <a href="cn/XUL/Method/getSessionValueAt">getSessionValueAt</a> -</li><li> <a href="cn/XUL/Method/getString">getString</a> -</li><li> <a href="cn/XUL/Method/goBack">goBack</a> -</li><li> <a href="cn/XUL/Method/goBackGroup">goBackGroup</a> -</li><li> <a href="cn/XUL/Method/goDown">goDown</a> -</li><li> <a href="cn/XUL/Method/goForward">goForward</a> -</li><li> <a href="cn/XUL/Method/goForwardGroup">goForwardGroup</a> -</li><li> <a href="cn/XUL/Method/goHome">goHome</a> -</li><li> <a href="cn/XUL/Method/goTo">goTo</a> -</li><li> <a href="cn/XUL/Method/gotoIndex">gotoIndex</a> -</li><li> <a href="cn/XUL/Method/goUp">goUp</a> -</li><li> <a href="cn/XUL/Method/hasUserValue">hasUserValue</a> -</li><li> <a href="cn/XUL/Method/hidePopup">hidePopup</a> -</li><li> <a href="cn/XUL/Method/increase">increase</a> -</li><li> <a href="cn/XUL/Method/increasePage">increasePage</a> -</li><li> <a href="cn/XUL/Method/insertItem">insertItem</a> -</li><li> <a href="cn/XUL/Method/insertItemAt">insertItemAt</a> -</li><li> <a href="cn/XUL/Method/invertSelection">invertSelection</a> -</li><li> <a href="cn/XUL/Method/loadGroup">loadGroup</a> -</li><li> <a href="cn/XUL/Method/loadOneTab">loadOneTab</a> -</li><li> <a href="cn/XUL/Method/loadTabs">loadTabs</a> -</li><li> <a href="cn/XUL/Method/loadURI">loadURI</a> -</li><li> <a href="cn/XUL/Method/loadURIWithFlags">loadURIWithFlags</a> -</li><li> <a href="cn/XUL/Method/makeEditable">makeEditable</a> -</li><li> <a href="cn/XUL/Method/moveByOffset">moveByOffset</a> -</li><li> <a href="cn/XUL/Method/moveTo">moveTo</a> -</li><li> <a href="cn/XUL/Method/moveToAlertPosition">moveToAlertPosition</a> -</li><li> <a href="cn/XUL/Method/onSearchComplete">onSearchComplete</a> -</li><li> <a href="cn/XUL/Method/onTextEntered">onTextEntered</a> -</li><li> <a href="cn/XUL/Method/onTextReverted">onTextReverted</a> -</li><li> <a href="cn/XUL/Method/openPopup">openPopup</a> -</li><li> <a href="cn/XUL/Method/openPopupAtScreen">openPopupAtScreen</a> -</li><li> <a href="cn/XUL/Method/openSubDialog">openSubDialog</a> -</li><li> <a href="cn/XUL/Method/openWindow">openWindow</a> -</li><li> <a href="cn/XUL/Method/preferenceForElement">preferenceForElement</a> -</li><li> <a href="cn/XUL/Method/reload">reload</a> -</li><li> <a href="cn/XUL/Method/reloadAllTabs">reloadAllTabs</a> -</li><li> <a href="cn/XUL/Method/reloadTab">reloadTab</a> -</li><li> <a href="cn/XUL/Method/reloadWithFlags">reloadWithFlags</a> -</li><li> <a href="cn/XUL/Method/removeAllItems">removeAllItems</a> -</li><li> <a href="cn/XUL/Method/removeAllNotifications">removeAllNotifications</a> -</li><li> <a href="cn/XUL/Method/removeAllTabsBut">removeAllTabsBut</a> -</li><li> <a href="cn/XUL/Method/removeCurrentNotification">removeCurrentNotification</a> -</li><li> <a href="cn/XUL/Method/removeCurrentTab">removeCurrentTab</a> -</li><li> <a href="cn/XUL/Method/removeItemAt">removeItemAt</a> -</li><li> <a href="cn/XUL/Method/removeItemFromSelection">removeItemFromSelection</a> -</li><li> <a href="cn/XUL/Method/removeNotification">removeNotification</a> -</li><li> <a href="cn/XUL/Method/removeProgressListener">removeProgressListener</a> -</li><li> <a href="cn/XUL/Method/removeSession">removeSession</a> -</li><li> <a href="cn/XUL/Method/removeTab">removeTab</a> -</li><li> <a href="cn/XUL/Method/removeTransientNotifications">removeTransientNotifications</a> -</li><li> <a href="cn/XUL/Method/replaceGroup">replaceGroup</a> -</li><li> <a href="cn/XUL/Method/reset">reset</a> -</li><li> <a href="cn/XUL/Method/rewind">rewind</a> -</li><li> <a href="cn/XUL/Method/scrollByIndex">scrollByIndex</a> -</li><li> <a href="cn/XUL/Method/scrollByPixels">scrollByPixels</a> -</li><li> <a href="cn/XUL/Method/scrollToIndex">scrollToIndex</a> -</li><li> <a href="cn/XUL/Method/select">select</a> -</li><li> <a href="cn/XUL/Method/selectAll">selectAll</a> -</li><li> <a href="cn/XUL/Method/selectItem">selectItem</a> -</li><li> <a href="cn/XUL/Method/selectItemRange">selectItemRange</a> -</li><li> <a href="cn/XUL/Method/setSelectionRange">setSelectionRange</a> -</li><li> <a href="cn/XUL/Method/showPane">showPane</a> -</li><li> <a href="cn/XUL/Method/showPopup">showPopup</a> -</li><li> <a href="cn/XUL/Method/sizeTo">sizeTo</a> -</li><li> <a href="cn/XUL/Method/startEditing">startEditing</a> -</li><li> <a href="cn/XUL/Method/stop">stop</a> -</li><li> <a href="cn/XUL/Method/stopEditing">stopEditing</a> -</li><li> <a href="cn/XUL/Method/syncSessions">syncSessions</a> -</li><li> <a href="cn/XUL/Method/timedSelect">timedSelect</a> -</li><li> <a href="cn/XUL/Method/toggleItemSelection">toggleItemSelection</a> -</li></ul> -<h3 id="Related_DOM_element_methods" name="Related_DOM_element_methods"> Related DOM element methods </h3> -<ul><li> <a href="cn/DOM/element.addEventListener">DOM:element.addEventListener</a> -</li><li> <a href="cn/DOM/element.appendChild">DOM:element.appendChild</a> -</li><li> <a href="cn/DOM/element.dispatchEvent">DOM:element.dispatchEvent</a> -</li><li> <a href="cn/DOM/element.getAttribute">DOM:element.getAttribute</a> -</li><li> <a href="cn/DOM/element.getAttributeNode">DOM:element.getAttributeNode</a> -</li><li> <a href="cn/DOM/element.getAttributeNodeNS">DOM:element.getAttributeNodeNS</a> -</li><li> <a href="cn/DOM/element.getAttributeNS">DOM:element.getAttributeNS</a> -</li><li> <a href="cn/DOM/element.getElementsByTagName">DOM:element.getElementsByTagName</a> -</li><li> <a href="cn/DOM/element.getElementsByTagNameNS">DOM:element.getElementsByTagNameNS</a> -</li><li> <a href="cn/DOM/element.hasAttribute">DOM:element.hasAttribute</a> -</li><li> <a href="cn/DOM/element.hasAttributeNS">DOM:element.hasAttributeNS</a> -</li><li> <a href="cn/DOM/element.hasAttributes">DOM:element.hasAttributes</a> -</li><li> <a href="cn/DOM/element.hasChildNodes">DOM:element.hasChildNodes</a> -</li><li> <a href="cn/DOM/element.insertBefore">DOM:element.insertBefore</a> -</li><li> <a href="cn/DOM/element.isSupported">DOM:element.isSupported</a> -</li><li> <a href="cn/DOM/element.normalize">DOM:element.normalize</a> -</li><li> <a href="cn/DOM/element.removeAttribute">DOM:element.removeAttribute</a> -</li><li> <a href="cn/DOM/element.removeAttributeNode">DOM:element.removeAttributeNode</a> -</li><li> <a href="cn/DOM/element.removeAttributeNS">DOM:element.removeAttributeNS</a> -</li><li> <a href="cn/DOM/element.removeChild">DOM:element.removeChild</a> -</li><li> <a href="cn/DOM/element.removeEventListener">DOM:element.removeEventListener</a> -</li><li> <a href="cn/DOM/element.replaceChild">DOM:element.replaceChild</a> -</li><li> <a href="cn/DOM/element.setAttribute">DOM:element.setAttribute</a> -</li><li> <a href="cn/DOM/element.setAttributeNode">DOM:element.setAttributeNode</a> -</li><li> <a href="cn/DOM/element.setAttributeNodeNS">DOM:element.setAttributeNodeNS</a> -</li><li> <a href="cn/DOM/element.setAttributeNS">DOM:element.setAttributeNS</a> -</li></ul> diff --git a/files/zh-cn/mozilla/tech/xul/method/reset/index.html b/files/zh-cn/mozilla/tech/xul/method/reset/index.html deleted file mode 100644 index 258f4d53df..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/reset/index.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: reset -slug: Mozilla/Tech/XUL/Method/reset -translation_of: Archive/Mozilla/XUL/Method/reset ---- -<div class="noinclude"> - <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span></div> -<dl> - <dt> - <span id="m-reset"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/reset">reset()</a></code></span></dt> - <dd> - 返回值:无返回值</dd> - <dd> - 将用户偏好重置为默认值.</dd> -</dl> diff --git a/files/zh-cn/mozilla/tech/xul/method/stop/index.html b/files/zh-cn/mozilla/tech/xul/method/stop/index.html deleted file mode 100644 index 181a6123ae..0000000000 --- a/files/zh-cn/mozilla/tech/xul/method/stop/index.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: stop -slug: Mozilla/Tech/XUL/Method/stop -translation_of: Archive/Mozilla/XUL/Method/stop ---- -<div class="noinclude"> - <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/en-US/docs/XUL_Reference" title="/en-US/docs/XUL_Reference">XUL Reference home</a></span></div> -<dl> - <dt> - <span id="m-stop"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/stop">stop()</a></code></span></dt> - <dd> - 返回值: 无返回值</dd> - <dd> - 效果等同于按下了停止按钮,停止当前页面中文档的加载.</dd> -</dl> |