EXT.net.Mask.show position on the page

Look for the EXT.net position (based on EXT JS) with the message on the web page, so it is not the default.

eg Ext.net.Mask.Show('Loading...'); 

version 1.6 http://examples1.ext.net/

+4
source share
1 answer

This is a great question.

By default, the Mask is forcedly centered, and redefinition does not occur, but you can move it right away when displayed.

Example

 Ext.net.Mask.show({ msg : 'testing' }); Ext.fly(Ext.dom.Query.selectNode(".x-mask-msg")).setStyle({ top: "30px", left: "30px"}); 

Hope this helps.

+2
source

Source: https://habr.com/ru/post/1469166/