-
Notifications
You must be signed in to change notification settings - Fork 4
API: Events
premasagar edited this page Sep 13, 2010
·
8 revisions
The following events are triggered on the AOMI object. Use the event methods to bind handler functions to the events. E.g.
aomi.bind('resize', function(dimensions){
alert('iframe was resized');
});Occurs after the iframe element has been fully prepared, and before the first ‘load’ event. If the iframe document is later re-created (e.g. because the iframe is removed from and then re-appended to the DOM, then the ‘ready’ event fires again.
The callback function that can be passed to the $.iframe() constructor is bound to the ‘ready’ event.