src/aria/utils/Caret.js
function (element) {
            var start = 0;
            var end = (element.value.length) ? element.value.length : 0;
            if (end) {
                this.setPosition(element, start, end);
            }
        }
function (element) {
            var start = 0;
            var end = (element.value.length) ? element.value.length : 0;
            if (end) {
                this.setPosition(element, start, end);
            }
        }
function ( element ) { var start = 0 ; var end = ( element . value . length ) ? element . value . length : 0 ; if ( end ) { this . setPosition ( element , start , end ) ; } }
Select the element text setting the caret position to the whole input value.
@type {HTMLElement} element The html elment
Select the element text setting the caret position to the whole input value .