mixins/evented.js
Mixins
Methods
- 
    
        
inner addEventedCallback(object, callback)
 - 
    
    
Adds a callback to run after the evented mixin applied.
Parameters:
Name Type Description objectObject An object to Add
callbackfunction The callback to run.
 - 
    
        
inner evented(target, optionsopt) → {Object}
 - 
    
    
Applies EventedMixin to a target object.
Parameters:
Name Type Attributes Default Description targetObject The object to which to add event methods.
optionsObject <optional> 
{} Options for customizing the mixin behavior.
Properties
Name Type Attributes Description eventBusKeystring <optional> 
By default, adds a
eventBusEl_DOM element to the target object, which is used as an event bus. If the target object already has a DOM element that should be used, pass its key here.Returns:
Object -The target object.
 - 
    
        
inner isEvented(object) → {boolean}
 - 
    
    
Returns whether or not an object has had the evented mixin applied.
Parameters:
Name Type Description objectObject An object to test.
Returns:
boolean -Whether or not the object appears to be evented.