feat(dialog): add result to MdDialogClose directive by nallwhy · Pull Request #4332 · angular/components
added
the
cla: yes
label
Apr 30, 2017
nallwhy
changed the title
feat(dialog): add
feat(dialog): add result to MdDialogClose directiveresult to MdDialogClose directive
MdDialog has MdDialogClose to make it easier to structure a dialog.
But as MdDialogClose doesn't return any value, it's imposibble to use MdDialogClose if you want to get any return value when MdDialog is close.
So `@Input('md-dialog-close')result` is added to MdDialogClose to solve it.
no breaking changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters