src/aria/widgets/form/Select.js
function (evt) {
            var target = evt.target;
            var inputDomElt = this._getInputMarkupDomElt();
            if (this.controller && ariaUtilsDom.isAncestor(target, inputDomElt)) {
                this._toggleDropdown();
                evt.preventDefault(); // prevent the selection of the text when clicking
            }
        }
function (evt) {
            var target = evt.target;
            var inputDomElt = this._getInputMarkupDomElt();
            if (this.controller && ariaUtilsDom.isAncestor(target, inputDomElt)) {
                this._toggleDropdown();
                evt.preventDefault(); // prevent the selection of the text when clicking
            }
        }
function ( evt ) { var target = evt . target ; var inputDomElt = this . _getInputMarkupDomElt ( ) ; if ( this . controller && ariaUtilsDom . isAncestor ( target , inputDomElt ) ) { this . _toggleDropdown ( ) ; evt . preventDefault ( ) ; // prevent the selection of the text when clicking } }
Internal method to handle the mousedown event
@protected
@param {aria.DomEvent} event Mouse down event
Internal method to handle the mousedown event