feat: declarative ion-modal (angular) #20117
Labels
package: angular
@ionic/angular package
type: feature request
a new feature, enhancement, or improvement
Milestone
Feature Request
Ionic version:
[x] 4.x
Describe the Feature Request
Make an option to open a modal window in template. It will allow devs to work with modals in a reactive way, Ionic for React is already working like this. Right now modal can be opened only programmatically with modal controller, it makes inconvenient to controlling modal state in reactive angular applications and reacting on data changes with OnPush. Also there is no way to pass template to the modal controller, only component's class.
Describe Preferred Solution
Would be great if we will be able to do things like this:
The text was updated successfully, but these errors were encountered: