Can you please tell me how to make a customized alert in ionic 2 ? like add image at top right corner make it clickable
相关问题
- Angular RxJS mergeMap types
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- How to update placeholder text in ng2-smart-table?
- How to instantiate Http service in main.ts manuall
- Angular: ngc or tsc?
相关文章
- angular脚手架在ie9+下兼容问题
- angular 前端项目 build 报错 "Cannot find module 'le
- Angular Material Stepper causes mat-formfield to v
- After upgrade to Angular 9 cannot find variable in
- is there any difference between import { Observabl
- Could I create “Call” button in HTML 5 IPhone appl
- Suppress “Circular dependency detected” suppress w
- How can you get current positional information abo
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/ should get you all set
I am using following to get the desired modal size.
Now whenever I need a modal with these properties I pass following in modal options.
I am not able to figure out how to dismiss this modal when user taps on background area.
We Can Use Modal Instead Of using Alert by Giving Padding to Modal.. Add Modal & Write This Code In App.scss :)