Skip to content

LinkButton

Panoramax.components.ui.LinkButton ⇐ lit.LitElement

Kind: static class of Panoramax.components.ui
Extends: lit.LitElement
Element: pnx-link-button

new LinkButton()

Link Button element displays a HTML <a> anchor with a button style.

Example

<pnx-link-button
  title="Redirect to other website"
  kind="outline"
  href="https://panoramax.fr"
  target="_blank"
>
  Click to go on Panoramax
</pnx-link-button>

linkButton.properties : Object

Component properties.

Kind: instance property of LinkButton
Properties

Name Type Default Description
[href] string The URL the button should navigate to when clicked
[target] string Specifies where to open the linked document (e.g., '_blank')
[title] string Tooltip text displayed when hovering over the button
[download] string Indicates if the linked resource should be downloaded
[class] string Custom CSS class for additional styling
[kind] string "full" The style variation of the button (full, outline, flat, superflat)