Namespace Archetype.methodBuilders.eventSenders
Archetype.methodBuilders.eventSenders
Automatic event Sender for your component.
It's a convenient way to send an event with arguments without using the event API.
The original method isn't called so Prototype.emptyfunction, it's alias _ , or any empty function
should do the trick for the definition
Defined in: componentManager.js.
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Archetype.methodBuilders.eventSenders.build(component, methodName)
Acts on the Archetype.Component definition method methodName (that matches "this.regexp")
|
Method Detail
<static>
Archetype.methodBuilders.eventSenders.build(component, methodName)
Acts on the Archetype.Component definition method methodName (that matches "this.regexp")
- Parameters:
- {Archetype.ComponentDefinition} component
- {Function} methodName