-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(dialog): normalize event names #11549
refactor(dialog): normalize event names #11549
Conversation
* @deprecated Use `afterOpened` instead. | ||
* @deletion-target 7.0.0 | ||
*/ | ||
afterOpen(): Observable<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is in cdk-experimental we do not have to go through the deprecation process, we can just change the name.
/** | ||
* Gets an observable that emits when dialog is finished opening. | ||
* @deprecated Use `afterOpened` instead. | ||
* @deletion-target 7.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be 8.0 if we're deprecating it now
7b0657b
to
a06ea8c
Compare
Addressed the feedback @jelbourn @josephperrott. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@crisbeto Can you rebase this? There have been changes to the dialog that introduced new usages of the properties being renamed in this PR. |
A while ago we made the output names of components consistent (e.g. angular#8053 and angular#8052), however that didn't cover the methods on the dialog. These changes align the dialog event names with the ones on the various components.
a06ea8c
to
27e170a
Compare
Rebased and sorted out the compilation error. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
A while ago we made the output names of components consistent (e.g. #8053 and #8052), however that didn't cover the methods on the dialog. These changes align the dialog event names with the ones on the various components.