-
Notifications
You must be signed in to change notification settings - Fork 6.8k
chore(drag-drop): rename cdkDrop to cdkDropList #13619
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
Conversation
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
providers: [ | ||
{provide: CDK_DROP_CONTAINER, useExisting: CdkDrop}, |
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.
We should probably rename CDK_DROP_CONTAINER
to CDK_DROP_LIST
. Same goes for the CdkDropContainer
interface.
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.
Should it be CDK_DROP_LIST_CONTAINER
? It's a bit long but I think its okay for this usage.
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.
Yeah that works too. Since this is a private thing the length doesn't matter too much.
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.
any documentation on how to use CDK_DROP_LIST
?
@@ -1,3 +1,3 @@ | |||
<div cdkDrop cdkDropOrientation="horizontal" class="example-list" (cdkDropDropped)="drop($event)"> | |||
<div cdkDropList cdkDropOrientation="horizontal" class="example-list" (cdkDropListDropped)="drop($event)"> |
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.
cdkDropOrientation should also be renamed to cdkDropListOrientation
Fixes some invalid leftover references to `cdkDrop` after angular#13619.
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. |
No description provided.