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.
Name | Description | Property Type |
---|---|---|
url | A 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 |
text | Text to display in the link. | value: string |
target | Specifies where to display the linked URL. Options are: Otherwise, supports standard w3c values for anchor link target attributes. | value: string |
style | Sets 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 Events​
The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.