Class Index | File Index

Classes


Namespace Archetype.methodBuilders.eventListeners

Archetype.methodBuilders.eventListeners Automatic event Listener for your component. Just add a "on" prefix to a method for it to automatically listen for the event named after this prefix. The listener will get the event in first parameter, and can get the data posted by the event with (say we will use the variable "event" as first parameter) event.event_data.data
Defined in: componentManager.js.

Method Summary
Method Attributes Method Name and Description
<static>  
Archetype.methodBuilders.eventListeners.build(component, methodName)
Acts on the Component definition method methodName (that matches "this.regexp")
Method Detail
<static> Archetype.methodBuilders.eventListeners.build(component, methodName)
Acts on the Component definition method methodName (that matches "this.regexp")
Parameters:
{ComponentDefinition} component
{Function} methodName

Documentation generated by JsDoc Toolkit 2.0.b2 on Thu Feb 21 2008 20:16:55 GMT+0100 (CET)