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

Change transition direction #760

Open
egermano opened this issue Apr 9, 2019 · 0 comments
Open

Change transition direction #760

egermano opened this issue Apr 9, 2019 · 0 comments

Comments

@egermano
Copy link

egermano commented Apr 9, 2019

Currently, I only able to have a transition on the X-axis, I want to rotate my slider on Y-axis. I saw in the code there is a translate function that can be changed the axis:

/**
  * translates to a given position in a given time in milliseconds
  *
  * @to        {number} number in pixels where to translate to
  * @duration  {number} time in milliseconds for the transistion
  * @ease      {string} easing css property
  */
function translate (to, duration, ease)

What do you think to add an option to change the axis?

This is a print screen from the slider that I'm trying to implement.

Screenshot from 2019-04-07 23-18-57

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

No branches or pull requests

2 participants