From e059cac3b5304d03869948918e6a5e5b02dec41b Mon Sep 17 00:00:00 2001 From: Johannes Tuikkala Date: Wed, 23 Apr 2025 10:12:53 +0300 Subject: [PATCH] Update index.adoc Slightly more elaborated instructions on how Popover is used, since this has confused some customers of us previously --- articles/components/popover/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/components/popover/index.adoc b/articles/components/popover/index.adoc index 760661acf8..75e59868c3 100644 --- a/articles/components/popover/index.adoc +++ b/articles/components/popover/index.adoc @@ -43,7 +43,7 @@ include::{root}/frontend/themes/docs/popover-notification-panel.css[] Popovers support focusable, interactive content, and can be used to build virtually any type of anchored overlays from custom drop-down fields and drop-down buttons to and interactive tooltips. -The popover’s position is anchored to an element in the UI, called the *target element*. +The popover’s position is anchored to an element in the UI, called the *target element*, by calling `setTarget()`. The actual content of the popover's overlay is added to it as with any other component container. Popovers differ from <<../dialog#,Dialogs>> in that they are visually anchored to a target element, and they differ from <<../tooltip#,Tooltips>> in that they can be focused and support rich, interactive content.