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

Get css transformer #166

Open
mcshaman opened this issue Nov 29, 2014 · 1 comment
Open

Get css transformer #166

mcshaman opened this issue Nov 29, 2014 · 1 comment

Comments

@mcshaman
Copy link

There is obviously a function to set prefixed transform properties. However I can't see a method for getting transform properties. I would like to be able to work out what the rotateX of an is. I could write some logic to identify prefixed properties and then decode the transform matrix... But I feel like this code must already be within jmpress and I would only be doubling up on code.

@sokra
Copy link
Member

sokra commented Jan 9, 2015

In the callback setActive there is a property target in eventData which contains such information. Store it from there for later usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants