inputEx.widget.Button
(
options
)
- Parameters:
-
options <Object>
The following options are available for Button :- id: id of the created A element (default is auto-generated)
- className: CSS class added to the button (default is either "inputEx-Button-Link" or "inputEx-Button-Submit-Link", depending on "type")
- parentEl: The DOM element where we should append the button
- type: "link", "submit-link" or "submit"
- value: text displayed inside the button
- disabled: Disable the button after creation
- onClick: Custom click event handler