Skip to main content
Version: 2027.02 Beta
View as Markdown

Perspective - Link

Component Palette Icon:

Description​

The Link component allows users to create a hyperlink that points to a destination such as a page, view, resource, or mount path that they can quickly navigate to. Links are easily identifiable because they typically have a different color font then the rest of the content, and an underscore when you hover over them. To configure a link, enter the URL for the destination, and the name of the link in the 'text' property.

Properties​

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective. This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
urlA URL, URL fragment, or a Page URL given to a Page. If the target is a Page, its Page URL can be found in the Page Configuration settings of the project. See Page URLs.value: string
textText to display in the link.value: string
targetSpecifies where to display the linked URL. Options are:
  • self for the current tab/context
  • tab or 'blank' for a new tab
  • parent for the parent frame tab/context
  • top for the full body of the window

Otherwise, supports standard w3c values for anchor link target attributes.
value: string
styleSets a style for this component. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.object

Component Scripts and Events​

Further component interaction and functionality can be configured for all components through scripting and event actions. Right-click on the component or select Components from the Designer menubar to access the configuration popups for both of these options:

  • Configure Events: Accesses the Event Configuration popup where you can configure actions to run in response to events to make the component dynamic. The Events Configurations page shows how to configure events and actions on a Perspective component.

  • Configure Scripts: Accesses the Script Configuration popup where custom methods and message handlers can be added. The Scripting in Perspective section details scripting fundamentals, creating custom methods, and using message handlers.