...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<script> <![CDATA[ // SCRIPT BODY ]]> </script> |
You can add script to every component in system.
...
Arguments:
- listener - [object] listener to add
Returns:
none
fireEvent(actionPerformer, eventName, args)
Fires event on component.
Arguments:
- actionPerformer - [component] reference to performer component
- eventName - [string] name of event
- args - [array] array of event arguments
...