Button

GITHUB

To create button element use this component.


Code:

  
HTML
<!-- Normal --> <fvButton> Normal Button </fvButton> <!-- For another element --> <a class="fv-button"> Link Button </a>

Examples:




Notes:

  • You can use .fv-button to custom element, like a tag.
  • To configure theme colors, play with primary-color, secondary-color, danger-color, warning-color and info-color key in your config variables.
  • This component wrapped to normal html button element, so custom events and attributes are available on this.

API:

NameTypeDefaultDescription
loading
Boolean
false
Show loading indicator inside button.
disabled
Boolean
false
Disabled state of button.