CardSubmitButton

This component allows you to create a card submit button.

Example

CardSubmitButton

<card-submit-button
  label="Submit button"
  button-text="Submit"
  size="is-medium"
/>

Props

NameDescriptionTypeRequiredDefault
labelThe card button labelStringfalse""
buttonTextThe card button textStringfalse""
horizontalDefine if it aligns label and control in horizontal formsBooleanfalsetrue
customClassCSS classes to be applied on field labelStringfalse""
typeType (color) of the control'is-white', 'is-black', 'is-light', 'is-dark', 'is-primary', 'is-info', 'is-success', 'is-warning', 'is-danger' , and any other colors you've set in the $colors list on Sassfalse"is-primary"
sizeVertical size of button, optional'is-small', 'is-medium', 'is-large'falsenull
isRoundedRounded styleBooleanfalsetrue
iconIcon name to show on the leftStringfalsenull
isDisabledShow button disabledBooleanfalsefalse

Events

Event NameDescriptionParameters
buttonClickedFire an event to the parent-

Methods

MethodDescriptionParameters
buttonClickedIt fires when the button is clicked-