-1

So i need the following values: Values

I want to get them and save them in a variable for example. Do you have any suggestions for me ? I want to get them to save the last position of an element. :)

1 Answers1

1

if you have access to your element you can use a reference to it with a ViewChild for example https://angular.io/api/core/ViewChild and then you can use

myElementRef.style.transform

This will only give you a string containing the value of the property transform. If you want to access the values you would have to parse the string.

Tim Lepage
  • 802
  • 1
  • 6
  • 17