ionic-team / ionic-team/ionic-docs

Document best practices for handling modal life cycle events with frameworks

未关闭
#2,340 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
content
主要语言
MDX
星标
621
派生
3.2k
平均合并
1 天 2 小时
30 天内合并 PR
86

描述

**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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。