• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Popup Overview
2
3Popups are small windows that provide users with additional information or guidance. They are commonly used in scenarios such as screen recording and tooltips.
4
5## When to Use
6
7| API|Use Case |
8| ----------| ----------------------------------- |
9| [Popup](arkts-popup-and-menu-components-popup.md)| Used to display a hint for a specific component, for example, a tooltip when a question mark is clicked.|
10| [Global popup independent of UI components (openPopup)](arkts-popup-and-menu-components-uicontext-popup.md)| Used to display a hint in scenarios where UI components cannot be directly accessed, for example, in event callbacks.|
11
12## Constraints
13
14* Popups can be displayed only after the page is fully built. Setting the [show](../reference/apis-arkui/arkui-ts/ts-universal-attributes-popup.md#bindpopup) property to true during page construction may result in issues with the popup's position and shape.
15* When using **openPopup**, you need to provide valid [TargetInfo](../reference/apis-arkui/js-apis-arkui-UIContext.md#targetinfo18). Otherwise, the menu won't display correctly.
16* For details about other specifications, see [Popup Control](../reference/apis-arkui/arkui-ts/ts-universal-attributes-popup.md) and [openPopup](../reference/apis-arkui/js-apis-arkui-UIContext.md#openpopup18) .
17