new Radio()
Wrapper for event listening, removing, & dispatching. Currently only supports broadcasting Custom and Mouse events
Methods
-
<static> broadcast(target, event, data)
-
Parameters:
Name Type Description target
Any event
String data
Object -
<static> tuneIn(target, event, callback)
-
Parameters:
Name Type Description target
Any event
String callback
function -
<static> tuneOut(target, event, callback)
-
Parameters:
Name Type Description target
Any event
String callback
function