ionic-team / ionic-team/ionic-docs

Document best practices for handling modal life cycle events with frameworks

Đang mở
#2,340 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
content
Ngôn ngữ chính
MDX
Star
621
Fork
3.2k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
86

Mô tả

**URL**
The URL at which the content is missing or inaccurate: https://ionicframework.com/docs/api/modal

**What is missing or inaccurate about the content on this page?**

We should document best practices with life cycle events for `ion-modal` and frameworks. Since it is a common pattern to present the modal from code external to a component, for example in Angular within a service; developers will need to be instructed on how to best listen and respond for when the modal is presented from their component.

For Angular, it makes the most sense to use rxjs subjects to emit changes after the modal is presented.

Reference issue: https://github.com/ionic-team/ionic-framework/issues/25250

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.