It would be nice if you could pass an $event to the modal open function so that the animation appears to pop-up from the button/link it is triggered by.
This would be pretty nice for a certain app I'm working on, as there are a lot of clickable items and the visual feedback would be good.
From what I can see, the Menu component already pops up from the $event, so having a modal start animating from there to the center of the screen doesn't seem necessarily hard to implement. Not sure if angular2's animation provider can be used for this or it needs some custom JS animation code.
See here for what this should look like: https://material.angularjs.org/latest/demo/dialog
It would be nice if you could pass an $event to the modal open function so that the animation appears to pop-up from the button/link it is triggered by.
This would be pretty nice for a certain app I'm working on, as there are a lot of clickable items and the visual feedback would be good.
From what I can see, the Menu component already pops up from the
$event, so having a modal start animating from there to the center of the screen doesn't seem necessarily hard to implement. Not sure if angular2's animation provider can be used for this or it needs some custom JS animation code.See here for what this should look like: https://material.angularjs.org/latest/demo/dialog