code: function (settings) {
          var self = this, size;
  
          self._super(settings);
          settings = self.settings;
  
          size = self.settings.size;
  
          self.on('click mousedown', function (e) {
            e.preventDefault();
          });
  
          self.on('touchstart', function (e) {
            self.fire('click', e);
            e.preventDefault();
          });
  
          if (settings.subtype) {
            self.classes.add(settings.subtype);
          }
  
          if (size) {
            self.classes.add('btn-' + size);
          }
  
          if (settings.icon) {
            self.icon(settings.icon);
          }
        }
docs: Constructs a new button instance with the specified settings.
  
  @constructor
  @param {Object} settings Name/value object with settings.
  @setting {String} size Size of the button small|medium|large.
  @setting {String} image Image to use for icon.
  @setting {String} icon Icon to use for button.