From fb33dd70363eaf258e507f344fe3ab508969b8d1 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Tue, 11 Jun 2024 16:43:04 -0400 Subject: [PATCH] remove content property --- src/components/tooltip/tooltip.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/tooltip/tooltip.ts b/src/components/tooltip/tooltip.ts index d1532b463..c36f18fb5 100644 --- a/src/components/tooltip/tooltip.ts +++ b/src/components/tooltip/tooltip.ts @@ -23,8 +23,7 @@ import type { CSSResultGroup } from 'lit'; * * @dependency wa-popup * - * @slot - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored. - * @slot content - The content to render in the tooltip. Alternatively, you can use the `content` attribute. + * @slot - The tooltip's default slot where any content should live. Interactive content should be avoided. * * @event wa-show - Emitted when the tooltip begins to show. * @event wa-after-show - Emitted after the tooltip has shown and all animations are complete. @@ -52,9 +51,6 @@ export default class WaTooltip extends WebAwesomeElement { @query('.tooltip__body') body: HTMLElement; @query('wa-popup') popup: WaPopup; - /** The tooltip's content. If you need to display HTML, use the `content` slot instead. */ - @property() content = ''; - /** * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip * inside of the viewport.