aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html')
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html b/files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html
new file mode 100644
index 0000000000..ec821daefe
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html
@@ -0,0 +1,21 @@
+---
+title: onpopupshowing
+slug: Mozilla/Tech/XUL/Attribute/onpopupshowing
+translation_of: Archive/Mozilla/XUL/Attribute/onpopupshowing
+---
+<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-onpopupshowing"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/onpopupshowing">onpopupshowing</a></code></dt>
+ <dd>
+ Type: <em>script code</em></dd>
+ <dd>
+ This event is sent to a popup just before it is opened. This handler is usually used to dynamically set the contents when the user requests to display it. Returning <code>false</code> from this event handler prevents the popup from appearing.</dd>
+ <dd>
+ 该事件在 popup 打开之前传给它。它用于动态生成菜单项。如果返回 false 值,则 popup 将不会显示菜单项。</dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>