1.2.1 • Published 1 year ago

slider-df v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

slider-df

a slider package to help create animations on scoll

Instructions


  • first install the package with npm install slider-df

  • import it in your javascript and execute it simple for now.

  • for elements you intend to add simple animation to on scroll add a class name 'hidden-df'

  • example

html

<p class="hidden-df">Hello</p>

javascript

import slider from "slider-df";

slider();
  • additionals options are aso provided to change the duration and filter of the element when animating

javascript

import slider from "slider-df";

slider(
{
	options: {
		duration: 2, // in seconds
		filter: 5, // in pixels
	}
}
);
  • new features will continue to be added, suggestions are welcome slider-df@devfate.com
1.2.1

1 year ago

1.2.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago