目录

Modal Page Overview

Modal pages are interactive popups featuring expansive panels that display critical information or enable operations while maintaining the current context. Unlike conventional popup components, modal pages provide substantially more space for content, which you must populate with custom components. By default, these modal pages require explicit user interaction to dismiss. ArkUI offers two distinct types of modal pages: semi-modal and full-modal, each serving different interaction patterns.

Available APIs

API Description
bindContentCover Use this API to display a full-modal page. It can work with the transition animation and shared element animation to implement complex transition animation effects, for example, displaying an image in full in the modal upon the click of a thumbnail.
bindSheet Use this API to display a custom semi-modal page, for example, a sharing confirmation dialog box.
openBindSheet/ updateBindSheet/ closeBindSheet Use this API for scenarios independent of UI components, such as global launch, updates, and shutdowns.

Specifications Constraints