Link
Description
<jp-link>
is a component with <link>
functionality.
Attributes
Name | Required | Type | Description |
---|---|---|---|
disabled | boolean | determines if a link is enabled | |
variant | 'basic' | 'raised' | 'stroked' | 'flat' |'icon' | 'fab' | 'mini-fab' | visual style | |
href | ✓ | string | URL that the hyperlink points to |
target | string | where 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...