FCF 2.0 development in progress...
> > > >
[News] [Packages API] [Downloads] [Donate to the project] [Contacts]

fcf.EventEmitter class

Package: fcf-framework-core

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

Base class that adds functionality for handling internal events of an object

on(string a_name, function a_cb)
- Adds an event handler
detach(function a_cb)
detach(string a_name, function a_cb)
- Unbinds an event handler
fcf.Actions emit(string a_name, mixed a_data)
- Raising an event on an object