You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importVuefrom'Vue'importVueButtonfrom'vue-button'// register component to useVue.component('v-button',VueButton)
Parameters
/** * Equivalent to the `id` attribute on an `<button>`. * @type {String} */
id: {type: String,default: null},/** * Attach your custom class on the compontent. * That means you can change the style if you want. * @type {String} */customClass: {type: String,default: null},/** * Equivalent to the `name` attribute on an `<button>`. * @type {String} */name: {type: String,default: null},/** * Equivalent to the `disabled` attribute on an `<button>`. * @type {Boolean} */disabled: {type: Boolean,default: false},/** * If set enable button font size will be large. * @type {Boolean} */large: {type: Boolean,default: false},/** * Markup button. * The value can be `default`, `primary`, `success`, `warning`, `error`. * @type {String} */markup: {type: String,default: 'default'},/** * Set the click event on `<button>`. */
@click{type: Object,defalut: null}