1.3.6 • Published 3 years ago

prettylist v1.3.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Pretty List

A package to make items in a list fade in and out as they leave and enter the list. The list can also bend to give a "wheel of fortune of effect.

Live Demo: https://jmonzone.github.io/assets/websites/prettylist/index.html

Usage:

const list = new PrettyList(items, container, options).list;

the prettylist will center itself in the passed container.

Options

rotation - bends the list (in degrees) . Default is 1.
visible - how many items are visible at once. Default is 3.
opacity - determines how much an item fades from the center. Default is 0.3.

direction - the direction of the list (horizontal or vertical). Default is vertical.

Examples:

Example1 Example2

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago