code: function create(props) {
      var slider = Object.create(this);
  
      // apply Widget defaults, then overwrite (if applicable) with Slider defaults
      _canvasWidget2.default.create.call(slider);
  
      // ...and then finally override with user defaults
      Object.assign(slider, Slider.defaults, props);
  
      // set underlying value if necessary... TODO: how should this be set given min/max?
      if (props.value) slider.__value = props.value;
  
      // inherits from Widget
      slider.init();
  
      return slider;
    }
docs: Create a new Slider instance.
  @memberof Slider
  @constructs
  @param {Object} [props] - A dictionary of properties to initialize Slider with.
  @static