Skip to content
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

drag-drop: make CdkDragEnd private property _activeTransform.x & y public #14420

Closed
ravikumarbggit opened this issue Dec 7, 2018 · 1 comment · Fixed by #14696
Closed

drag-drop: make CdkDragEnd private property _activeTransform.x & y public #14420

ravikumarbggit opened this issue Dec 7, 2018 · 1 comment · Fixed by #14696
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@ravikumarbggit
Copy link

Please describe the feature you would like to request.

I need to find out what is the transformation of the element along the x axis/ y axis on Drag End so that I can trigger some action. I can get that from _activeTransform.x but it is not accessible as it is private

What is the use-case or motivation for this proposal?

I'm trying to build swipe left and right of list and I need to find out how far element has been dragged so that I can delete element based on percentage of drag

Is there anything else we should know?

crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 2, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
@crisbeto crisbeto self-assigned this Jan 2, 2019
@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent has pr labels Jan 2, 2019
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 2, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 2, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 12, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 12, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 19, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 19, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 27, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Feb 10, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Feb 10, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Feb 20, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Feb 24, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Mar 7, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Mar 23, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
jelbourn pushed a commit that referenced this issue Mar 26, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes #14420.
Fixes #14674.
crisbeto added a commit to crisbeto/material2 that referenced this issue Apr 1, 2019
…draggable

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes angular#14420.
Fixes angular#14674.
mmalerba pushed a commit that referenced this issue Apr 3, 2019
…draggable (#14696)

Adds an API that allows the consumer to get the current position of a standalone draggable and to set it. This is useful for cases where the dragged position should be preserved when the user navigates away and then restored when they return.

Fixes #14420.
Fixes #14674.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants