Mashup Builder > Widgets > Standard Widgets > Link Widget (Themable)
Link Widget (Themable)
The Link widget opens a user defined page. You can add the Link widget to your mashup and define a target URL. A mashup user can click the link to open the target URL.
* 
The Link widget is available as a standard widget in the platform and as a web component that can be imported from an SDK.
Using the Widget Clicked Event
The Clicked event property allows you to perform a variety of actions, you can bind the property to functions and services.
For example, you can bind the Clicked event to a Confirmation service and bind the ActionClick in the Confirmation to the link’s Navigate service. When the link is clicked, a confirmation dialog appears displaying a message. If the user clicks the “action” button, the link is opened. See example below.
Widget Properties
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
LinkURL
Enables you to add an URL.
STRING
n/a
Y
N
Disabled
Use this property to disable the widget in the mashup. The widget is displayed in the mashup but you cannot click it.
BOOLEAN
False
Y
N
Alignment
Enables you to align the text around the link widget. The options are left, right, or center.
STRING
Left
N
N
CustomClass
Enables you to define the CSS to the top div of the widget. Multiple classes can be entered, separated by space.
STRING
n/a
Y
N
Clicked
Triggers an event when the widget is clicked.
* 
When there is a value in the LinkURL property and Clicked event is binded to a service, the Clicked event is triggered.
EVENT
n/a
Y
N
Text
The text that is displayed as the link.
STRING
n/a
Y
Y
LinkType
Enables you to set the link type as Primary or Secondary.
These types have different styling.
STRING
Primary
Y
N
TargetWindow
Enables you to define the window that will open when the link is clicked.
STRING
New Window
N
N
TabSequence
The sequence of the widgets in which they are highlighted when the user presses Tab key.
NUMBER
n/a
N
N
TextMaxWidth
Enables you to set a maximum width for the link text.
The text is displayed on multiple lines when the maximum width is reached.
NUMBER
n/a
N
N
SingleLine
Truncates the Text value to appear in a single line when the size of text is more than the TextMaxWidth value.
BOOLEAN
False
Y
N
Navigate
Directs you to the URL defined for this widget.
n/a
n/a
Y
N
Width
The width of the widget. The width is set to the width of the label by default. Enter a value in the property panel or resize the widget in the canvas to set a fixed width.
* 
The fixed width of the widget is reset if you set maximum width for the link text.
NUMBER
n/a
N
N
Height
The height of the widget. The height is set to the maximum width of the label by default. It increases if the widget has multiline label. Enter a value in the property panel or resize the widget in the canvas to set a fixed height.
NUMBER
n/a
N
N
TooltipField
Sets a tooltip text that is displayed when you hover over the widget.
STRING
n/a
Y
Y
TooltipIcon
Sets an icon image for the tooltip of the widget.
You can add an image or specify an image URL path.
MEDIA ENTITY
n/a
N
N
VerticalAlignment
Controls the vertical alignment of the link text within the widget. Options: Top, Center, Bottom
STRING
Top
N
N
Was this helpful?