Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
_cq_design_dialog
_cq_dialog
analytics
.content.xml
README.md
_cq_editConfig.xml
icon.png
link.html
link.icon.html
variant.button.html
variant.default.html

README.md

Link

Link component

Overview

Component for creating links (calls to action) on a page. Call to Acton can be a Link or a Button.

Information

Features

  • Provides support for anchor and button elements

Authoring

Following section covers authoring features

Edit Dialog properties

These fields are available for input by the authors. These fields are used in templates

Tab Field Title Field Name Default Value Description
Content Label label defines the text displayed
Target URL linkUrl # defines link to be used
Link Target hrefTarget defines how the link click behaviour should work
Variant variant anchor defines which variant to use
Style Include: Global Style Tab common style options
Accessibility Include: Global Accessibility Tab common accessibility options
Link Attributes Include: Global Link Attributes Tab common link attributes
Analytics Include: Global Analytics Tab common analytics options

Design Dialog Tabs

This enables creating of default values for components to be use in templates

Tab Field Title Field Name Default Value Description
Content Includes: Content includes Content tab form Edit Dialog
Style Include: Global Style Tab common style options
Accessibility Include: Global Accessibility Tab common accessibility options
Link Attributes Include: Global Link Attributes Tab common link attributes
Analytics Include: Global Analytics Tab common analytics options

Variants

This component has the following variants

Name Description
Default a tag with component attributes
Button button tag with component attributes

You can’t perform that action at this time.