[英]ExtJS change mask target while opening an Ext.Window
I have an ExtJS application and I want to change the mask target while showing an Ext.Window
. 我有一个ExtJS应用程序,我想在显示
Ext.Window
时更改蒙版目标。 Now when I show the window, the entire DOM is masked, but I want to mask just a DIV. 现在,当我显示窗口时,整个DOM被遮罩了,但是我只想遮罩DIV。 Overriding
getMaskTarget
is not working, it gets the target through an Ext.panel.Header
. 覆盖
getMaskTarget
无法正常工作,它通过Ext.panel.Header
获取目标。
也许您可以将窗口设置为modal: false
窗口modal: false
并屏蔽窗口show
事件处理程序中的任何组件/元素(根据closeAction
删除hide
或destroy
事件处理程序中的closeAction
)?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.