dist/button.js
function create(props) {
    var button = Object.create(this);

    _canvasWidget2.default.create.call(button);

    Object.assign(button, Button.defaults, props);

    if (props.value) button.__value = props.value;

    button.init();

    return button;
  }
function create(props) {
    var button = Object.create(this);

    _canvasWidget2.default.create.call(button);

    Object.assign(button, Button.defaults, props);

    if (props.value) button.__value = props.value;

    button.init();

    return button;
  }
function create ( props ) { var button = Object . create ( this ) ; _canvasWidget2 . default . create . call ( button ) ; Object . assign ( button , Button . defaults , props ) ; if ( props . value ) button . __value = props . value ; button . init ( ) ; return button ; }
Create a new Button instance.
@memberof Button
@constructs
@param {Object} [props] - A dictionary of properties to initialize a Button instance with.
@static
Create a new Button instance .