Feedback

button$ - <FormButton>

Button component that gets rendered when using button.

#Options

Name Type Description
label string Button label;
class string Button class.
disabled function A method to determine when the button should be disabled.
onClick function Handling button click Receives button component with this.
beforeCreate function Triggered in the button's beforeCreate lifecycle hook.
created function Triggered in the button's created lifecycle hook.
beforeMount function Triggered in the button's beforeMount lifecycle hook.
mounted function Triggered in the button's mounted lifecycle hook.
beforeUpdate function Triggered in the button's beforeUpdate lifecycle hook.
updated function Triggered in the button's updated lifecycle hook.
beforeDestroy function Triggered in the button's beforeDestroy lifecycle hook.
destroyed function Triggered in the button's destroyed lifecycle hook.

#Properties

Name Type Default Description
button object - Button options.
label string - Button label.
class string|object - Button class.
disabled boolean - Determines if the button is disabled.

#Methods

# .__(expr, data) @returns {string}

Parameters
  • expr string : expression to be translated using . dot syntax.
  • data object : data to be passed for the expression

Translates an expression to current locale.