Skip to main content
Version: Next

Link

A hyperlink — to another view, or to an external address.

The Link component as it renders with its default settings.The Link component as it renders with its default settings.

Reach for it when you need:

  • An inline navigation target inside body text
  • A link to a document or external system

Component name: Link · Category: Navigation

In the palette: Hyperlink

Properties

Any property can be bound to a tag, another component's property, or a query.

PropertyTypeDefaultDescription
contentstringLink Text
pathstring#
fontSizenumber14
colorcolor""
stylestyle{}Custom CSS properties

Events

Attach event actions to these in the Event Manager.

EventLabelGroupPayload
clickClickMouseThe DOM event.
dblclickDouble clickMouseThe DOM event.
contextmenuRight clickMouseThe DOM event.
mouseenterMouse enterMouseThe DOM event.
mouseleaveMouse leaveMouseThe DOM event.
Right-click behaves differently in the Designer

contextmenu fires your configured actions at runtime only — in LiveView and in preview. On the Designer canvas the right-click is captured to open the Event Manager, so testing it there will not run your actions. Test right-click in preview.

Notes

For navigation that needs to pass parameters, use a navigate event action instead.