onBeforeRender

occurs immediately before the component has been rendered

boolean onBeforeRender(object data){ ... };

Parameters

dataobjecta hash of data that is used for rendering

Returns

booleanreturning false will prevent the component from rendering

Example

some.attachEvent("onBeforeRender", function(data){
    //... some code here ...
});

Details

Returning false from the event handler will block further processing.

See also
Back to top