Link
Link widget allows you to add a hyperlink and navigate to the external URL.
Properties
Properties | description | Expected value |
---|---|---|
Link Target | This property sets the URL where the user needs to be taken on clicking the link | example: https://dev.to/tooljet or {{queries.xyz.data.url}} |
Link Text | This property sets the text for the link widget | example: Click here or Open webpage |
Target Type | This property specifies the link to be opened in the same tab or new tab on clickinh the link | Options: New Tab & Same Tab |
Events
To add an event to a link, click on the widget handle to open the widget properties on the right sidebar. Go to the Events section and click on Add handler.
On Click
On Click event is triggered when the link is clicked. Just like any other event on ToolJet, you can set multiple handlers for on click event.