module.exports = require('../view').extend()
  .confprop('colspan')
  .colspan(1)

  .confprop('rowspan')
  .rowspan(1)

  .confprop('width')
  .width(200)

  .confprop('height')
  .height(200)

  .draw(function() {
    var self = this;

    this.el()
      .style('width', function() { return self.width() + 'px'; })
      .style('height', function() { return self.height() + 'px'; });
  });

module.exports = require('../view').extend()
  .confprop('colspan')
  .colspan(1)

  .confprop('rowspan')
  .rowspan(1)

  .confprop('width')
  .set(d3.functor)
  .width(200)

  .confprop('height')
  .set(d3.functor)
  .height(200)

  .draw(function() {
    var self = this;

    this.el()
      .style('width', function(d, i) {
        return self.width().call(this, d, i) + 'px';
      })
      .style('height', function(d, i) {
        return self.height().call(this, d, i) + 'px';
      });
  });

Change base widget type's dimension properties to accessors