Skip to main content

Link

Description

<jp-link> is a component with <link> functionality.


Attributes

NameRequiredTypeDescription
disabledbooleandetermines if a link is enabled
variant'basic' | 'raised' | 'stroked' |
'flat' |'icon' | 'fab' | 'mini-fab'
visual style
hrefstringURL that the hyperlink points to
targetstringwhere to display the linked URL


Slots

Used for customization of link's content.



Methods

This component does not have any methods.



Events

This component does not have any events.



Demo

Live Editor
// import '../static/c/link.wc.js';

<jp-link> link </jp-link>
Result
Loading...