-
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
fix(menu): make @Output names consistent #6677 #8053
Conversation
src/lib/menu/menu-panel.ts
Outdated
@@ -15,7 +15,7 @@ export interface MatMenuPanel { | |||
yPosition: MenuPositionY; | |||
overlapTrigger: boolean; | |||
templateRef: TemplateRef<any>; | |||
close: EventEmitter<void | 'click' | 'keydown'>; | |||
closed: EventEmitter<void | 'click' | 'keydown'>; |
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.
Presubmit has revealed that this is a problem. Many teams implement MatMenuPanel
, so changing this to close
breaks them. This one alone should be changed back to closed
(aliasing it for the directive)
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.
Ok, I switched that interface back to close
and kept the alias for close
to closed
in the directive. Let me know if that is what you were thinking.
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.
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.
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.
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.
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.
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. |
Clean PR of #7133