-
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
feat(cdk/drag-drop): expose native event objects in custom events #17077
Conversation
778e182
to
7b3c5bd
Compare
src/cdk/drag-drop/drop-list-ref.ts
Outdated
@@ -335,9 +336,11 @@ export class DropListRef<T = any> { | |||
* container when the item was dropped. | |||
* @param distance Distance the user has dragged since the start of the dragging sequence. | |||
* @breaking-change 9.0.0 `distance` parameter to become required. | |||
* 10.0.0 `event` parameter to become required. |
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.
Note that this looks a little weird, but dgeni was throwing if I add it into a separate @breaking-change
.
7b3c5bd
to
f639659
Compare
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
f639659
to
74e42b2
Compare
74e42b2
to
a421c9f
Compare
a421c9f
to
b451814
Compare
b451814
to
461a7b3
Compare
461a7b3
to
62cab55
Compare
Exposes the native `MouseEvent` and `TouchEvent` objects in the various drag&drop events since they can contain useful information like which keys were pressed while dragging. Fixes angular#17032.
62cab55
to
78d6daf
Compare
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. |
Exposes the native
MouseEvent
andTouchEvent
objects in the various drag&drop events since they can contain useful information like which keys were pressed while dragging.Fixes #17032.