This support forum belongs to the AlloyUI State Interaction Gallery Module.
AlloyUI State Interaction has a bug tracker here: http://issues.liferay.com/browse/AUI
| Page 1 of 1 | [ 2 posts ] |
|
lets say I have a div with id="stuff"
I want to cover it with loading mask while ajax request is in progress and remove the mask when request is complete How would I do that? The Y.one('#mystuff")..plug( Y.LoadingMask, { background: '#000', strings: { loading: 'Loading' } } ).render(); Does not work. What would be a good function to just add loading mask to the div and then remove it when request is done. This is probably the most common use case for the loading mask, yet I cannot find an example for that. |
|
Try:
Code: Y.one('#mystuff").plug( Y.LoadingMask, { background: '#000', strings: { loading: 'Loading' } } ).loadingmask.show(); |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group