`<standard:link>`
</...>
Places a hyperlink that can execute a specific onclick function
Content
inline-elements
The text to turn into a link.
Attributes
- `confirmMessage`
string
The message to be displayed for confirmation on click
- `href`
string
Href
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.
- `onClickServer`
callable
Called when the button is clicked