2.0.0 • Published 1 year ago

@swc-uxp-wrappers/tooltip v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

Description


  • For detailed README regarding @spectrum-web-components/tooltip refer this link

  • Detailed specification regarding @spectrum-web-components/tooltip support in UXP through @swc-uxp-wrappers/tooltip refer this link

Usage


yarn add @swc-uxp-wrappers/tooltip

Import the side effectful registration of <sp-tooltip> via:

import '@swc-uxp-wrappers/tooltip/sp-tooltip.js';

When looking to leverage the Tooltip base class as a type and/or for extension purposes, do so via:

import { Tooltip } from '@swc-uxp-wrappers/tooltip';

Example


<sp-tooltip></sp-tooltip>