<templates:button>
</...>
A linkable Button template best used as a call-to-action.
Content
inline-elements
The visible label on the button.
Attributes
confirmMessage
string
The message to be displayed for confirmation on click
height
string
Height
Sets the height of the element. The default units are pixels. include the percentage symbol % to user percentage values.
href
string
Allows the override of the url when clicked
id
string
(Required) Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid') or in the server DOM using [? $myid ?] or [? $('myid') ?]).
onSuccessRedirect
string
The URL to be redirected to upon the success of the actions of the link.
onSuccessToastMessage
string
The toast message to be displayed upon the success of the actions of the link.
openDialogId
string
When clicked, open a dialog box with this id. The dialog box must be defined on the same page as this link.
openDialogPage
string
When clicked, open a dialog box with this page in its contents.
openDialogPageWidth
string
The width of the dialogbox opened in pixels, when opendialogpage is set.
variant
string
Variant
Name indicating which template variant to use. Template variants change the style and overall look of the template.
width
string
Width
Sets the width of the element. The default units are pixels. include the percentage symbol % to user percentage values.
bgcolor
string
Background color
Background Color of the Button
border
string
Border
Applies a Border to the Button
borderRadius
int
Rounded Corners
Controls how rounded the corners of the Button are
color
string
Font color
Font Color of the Button
padding
int
Padding
Controls how much space there is around the content of the Button
onClickServer
callable
Called when the button is clicked