ludo.form.CancelButton

ludo.form.


new ludo.form.CancelButton(config, applyTo, value)

Cancel button. This is a pre-configured ludo.form.Button which will close/hide parent view(or view defined in
applyTo) on click.
Default value of this button is "Cancel".

This button inherits from ludo.form.Button.

Parameters:
Name Type Description
config Object
applyTo String | ludo.View

Apply to this view. The cancel button will then call the hide function of this view. default is parent view.

value String

Button text, default: "Cancel"

Source: