Popup Overview
Popups are small windows that provide users with additional information or guidance. They are commonly used in scenarios such as screen recording and tooltips.
When to Use
| API | Use Case |
|---|---|
| Popup | Used to display a hint for a specific component, for example, a tooltip when a question mark is clicked. |
| Global popup independent of UI components (openPopup) | Used to display a hint in scenarios where UI components cannot be directly accessed, for example, in event callbacks. |
Constraints
- Popups can be displayed only after the page is fully built. Setting the show property to true during page construction may result in issues with the popup's position and shape.
- When using openPopup, you must provide valid TargetInfo. Otherwise, the popup won't display correctly.
- For details about other specifications, see Popup Control and openPopup.