v2.7.0 - ScrollBy
🌟 New features
The API method scrollBy()
is a new feature. This feature was specified in issue #23 and requested in issue #21.
embla.scrollBy(0.5)
The scrollBy()
method allows users to manipulate the current scroll progress by passing a number as an argument. Scroll to target is smooth.