src/svg.select.js
function (value, options) {

        // Check the parameters and reassign if needed
        if (typeof value === 'object') {
            options = value;
            value = true;
        }

        var selectHandler = this.remember('_selectHandler') || new SelectHandler(this);

        selectHandler.init(value === undefined ? true : value, options || {});

        return this;

    }
function (value, options) {

        // Check the parameters and reassign if needed
        if (typeof value === 'object') {
            options = value;
            value = true;
        }

        var selectHandler = this.remember('_selectHandler') || new SelectHandler(this);

        selectHandler.init(value === undefined ? true : value, options || {});

        return this;

    }
function ( value , options ) { // Check the parameters and reassign if needed if ( typeof value === 'object' ) { options = value ; value = true ; } var selectHandler = this . remember ( '_selectHandler' ) || new SelectHandler ( this ) ; selectHandler . init ( value === undefined ? true : value , options || { } ) ; return this ; }
Select element with mouse
Select element with mouse