Created
August 12, 2010 15:58
-
-
Save andreacfm/521193 to your computer and use it in GitHub Desktop.
CFEM - Adding events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var events = [ | |
{name = 'myevent'}, | |
{name= 'anotherevent'} | |
] | |
//Using the contructor | |
var application.cfem = createObject('component','com.andreacfm.cfem.EventManager').init(events = events); | |
//Or At Runtime | |
application.cfem.setEvents(events); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment