Skip to content
premasagar edited this page Sep 13, 2010 · 8 revisions

The following events are triggered on the AOMI object (and not on the actual iframe element). Use the event methods to bind handler functions to the events. E.g.

aomi.bind('resize', function(dimensions){
    alert('iframe was resized');
});

ready

Occurs after the iframe element has been fully prepared, and before the first ‘load’ event. In most cases, this will only ever fire once, but if the AOMI is reloaded, then the document will be re-created and the ‘ready’ event will fire again. (See API: Advanced methods).

The callback function that can be passed to the $.iframe() constructor function is bound to the ‘ready’ event. (See API: Core methods).

load

Occurs after the ‘ready’ event

manipulateIframe

manipulateBody

manipulateHead

init

reload

replace

repaint

resize

cache

restore

attachElement

Clone this wiki locally