code: function() {
        var el = this.getEl();
        
        // Unsubscribe all listeners on the updatedEvt
        this.updatedEvt.unsubscribeAll();
        
        // Purge element (remove listeners on el and childNodes recursively)
        util.Event.purgeElement(el, true);
        
        // Remove from DOM
        if(Dom.inDocument(el)) {
           el.parentNode.removeChild(el);
        }
        
     }
docs: Purge all event listeners and remove the component from the dom