且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 ionic 2 中制作自定义警报?

更新时间:2023-01-23 21:02:32

对于这些,我总是只创建一个自定义模式页面.您可以完全控制模态的所有方面,包括大小.它基本上只是一个带有控制器和模板的页面,也超级容易实现.

For these I always just create a custom modal page. You can full control all aspects of a modal, including sizing. It's basically just a page with a controller and template, super easy to implement too.

http://ionicframework.com/docs/v2/api/components/modal/ModalController/ 应该让你一切就绪