![]()
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.
© 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