The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 1 more by this user. Created: 04/18/10
Project: YUI 3
License: YUI BSD
YUI Version: 3.1.0
Free for use.
Adds an expose event that triggers when the element is inside of the viewport region
YUI({
modules: {
'gallery-event-expose': {
fullpath: 'http://github.com/m64253/yui3-gallery/raw/master/build/gallery-event-expose/gallery-event-expose-min.js',
requires: ['event-synthetic', 'node']
}
}
}).use('gallery-event-expose', function(Y) {
Y.one('img').on('expose', function(){
alert('Yay, I finally get some attention!');
});
});
No forum posts for this module.
All code on this site is licensed under the BSD License unless stated otherwise.