Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 565 Bytes

link.md

File metadata and controls

37 lines (28 loc) · 565 Bytes

< Back to Components List

Link

polaris-link implements the Polaris Link component.

Examples

Basic inline link usage:

{{polaris-link
  text="This is an inline link"
  url="http://www.somewhere.com/"
}}

External link in block form:

{{#polaris-link
  url="http://www.somewhere.com/"
  external=true
}}
  This is a block link
{{/polaris-link}}

Button usage:

{{polaris-link
  text="Click me"
  onClick=(action "linkButtonClicked")
}}