dist/toolkit.js
function() {
        var options = this.options,
            button = this.render(options.selectTemplate)
                .find(this.ns('arrow', 'select')).html(this.render(options.arrowTemplate)).end()
                .find(this.ns('label', 'select')).html(Toolkit.messages.loading).end()
                .css('min-width', this.element.width())
                .insertAfter(this.element);

        // Update the height of the native select input
        this.element.css('min-height', button.outerHeight());

        return button;
    }
function() {
        var options = this.options,
            button = this.render(options.selectTemplate)
                .find(this.ns('arrow', 'select')).html(this.render(options.arrowTemplate)).end()
                .find(this.ns('label', 'select')).html(Toolkit.messages.loading).end()
                .css('min-width', this.element.width())
                .insertAfter(this.element);

        // Update the height of the native select input
        this.element.css('min-height', button.outerHeight());

        return button;
    }
function ( ) { var options = this . options , button = this . render ( options . selectTemplate ) . find ( this . ns ( 'arrow' , 'select' ) ) . html ( this . render ( options . arrowTemplate ) ) . end ( ) . find ( this . ns ( 'label' , 'select' ) ) . html ( Toolkit . messages . loading ) . end ( ) . css ( 'min-width' , this . element . width ( ) ) . insertAfter ( this . element ) ; // Update the height of the native select input this . element . css ( 'min-height' , button . outerHeight ( ) ) ; return button ; }
Build the element to represent the select button with label and arrow.

@returns {jQuery}
Build the element to represent the select button with label and arrow .