Jump

This action allows you to smooth scroll to any position using jump.js.

Usage

The default behavior is to bind to the window. If no additional configuration options are needed, you can simply pass your callback function. This is the options you can pass through and thier default values.

{
  target: '', // can be a number, selector, or and element
  duration: 1000,
  offset: 0,
  callback: () => {},
  easing: () => {} // any easing function
}

Ready For More?

Continue to learn more about svelte materialify with content selected by the creator.



Last Updated: 2022-10-03