static/ext/src/ux/form/field/ClearButton.js
function(textField) {
            this.isTextArea = (this.textField.inputEl.dom.type.toLowerCase() == 'textarea');

            this.createClearButtonEl();
            this.addListeners();

            this.repositionClearButton();
            this.updateClearButtonVisibility();

            this.addEscListener();
        }
function(textField) {
            this.isTextArea = (this.textField.inputEl.dom.type.toLowerCase() == 'textarea');

            this.createClearButtonEl();
            this.addListeners();

            this.repositionClearButton();
            this.updateClearButtonVisibility();

            this.addEscListener();
        }
function ( textField ) { this . isTextArea = ( this . textField . inputEl . dom . type . toLowerCase ( ) == 'textarea' ) ; this . createClearButtonEl ( ) ; this . addListeners ( ) ; this . repositionClearButton ( ) ; this . updateClearButtonVisibility ( ) ; this . addEscListener ( ) ; }
After the field has been rendered sets up the plugin (create the Element for the clear button, attach listeners).
@private
After the field has been rendered sets up the plugin ( create the Element for the clear button attach listeners ) .