-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
请问一下,我打算在menupopup元素的onOpen事件中添加判断,当判断不符合要求时,我想要使用 event.stopPropagation();来终止menupopup的显示。但是,不起作用。 该如何处理呢? code:
<menupopup id="MenuLsbMain" >="" <attribute="" name="onOpen"> if(false) { event.stopPropagation(); } </attribute> <menuitem label="查看" image="../../images/ToolBar/view.png"> </menuitem> </menupopup>
2 | No.2 Revision |
请问一下,我打算在menupopup元素的onOpen事件中添加判断,当判断不符合要求时,我想要使用 event.stopPropagation();来终止menupopup的显示。但是,不起作用。 该如何处理呢? code:
<menupopup id="MenuLsbMain" but the menupopup always show