component () {
      if (this.$attrs.to) {
        return 'router-link'
      } else if (this.$attrs.href) {
        return 'a'
      } else {
        return 'button'
      }
    }
(Use with the DisabledParent mixin)
This mixin should be implemented on all components that can be disabled.