Skip to content

Change transition direction #760

Open
@egermano

Description

@egermano

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions