I am applying a loadmask to the viewport. However, i would like to change the default position (vertical centered/middle of viewport), to aprox 100 pixels from top of viewport and still centered.
Is this possible?
Thanks
I am applying a loadmask to the viewport. However, i would like to change the default position (vertical centered/middle of viewport), to aprox 100 pixels from top of viewport and still centered.
Is this possible?
Thanks
Not very easily. LoadMask has a sizeMask method and within it, it calls this:
That will set the left/top CSS styles which centers it vertically and there is no configuration to change this. You can override the method or try to force things with changing the CSS however dealing with the position styles will be a bit difficult.Code:// Always need to center the message wrap me.msgWrapEl.center(me.el);
Mitchell Simoens @LikelyMitch
Check out my GitHub:
https://github.com/mitchellsimoens
Posts are my own, not any current, past or future employer's.
Mitch,
Thanks, ill give it a shot.