Test.EventTarget Class
Simple custom event implementation.
Methods
attach
    
        
            (
    
    
        
            Void
        
    
    
    
    
    
    
    
    - 
                    
                        type
- 
                    
                        listener
Adds a listener for a given event type.
Parameters:
Returns:
                
                    
                        Void:
                    
                
            
        detach
    
        
            (
    
    
        
            Void
        
    
    
    
    
    
    
    
    - 
                    
                        type
- 
                    
                        listener
Removes a listener for a given event type.
Parameters:
Returns:
                
                    
                        Void:
                    
                
            
        fire
    
        
            (
    
    
        
            Void
        
    
    
    
    
    
    
    
    - 
                    
                        event
Fires an event based on the passed-in object.
Parameters:
Returns:
                
                    
                        Void:
                    
                
            
        subscribe
    
        
            (
    
    
        
            Void
        
    
    
        deprecated
    
    
    
    
    
    
    - 
                    
                        type
- 
                    
                        listener
Adds a listener for a given event type.
Parameters:
Returns:
                
                    
                        Void:
                    
                
            
        