1.7.0-deprecation • Published 3 months ago

scroll-rise v1.7.0-deprecation

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

DEPRECATED

This package has been move to https://www.npmjs.com/package/ballet

Scroll Rise

The typescript library for scroll animation.

NPM

Examples

Click here to see all the examples

Module System Types

  • ES6
  • UMD

Layout methods

  • FixedActorsScene
const scene = new StickyPlatformScene(
    document.getElementById('scene'),
    (w, h) => h * 2,
);

Here is an example of using this method.

  • StickyPlatformScene
const scene = new StickyPlatformScene(
    document.getElementById('scene'),
    (w, h) => h * 2,
);

This method also has an offset and stickyPlatformHeight options. To see an example of using these options click here.

Motions

  • MoveMotion
  • SizeMotion
  • OpacityMotion
  • BoundMotion

Actors

  • StaticActor should have MoveMotion, SizeMotion and OpacityMotion in its TimeFrame to calc start/end values. You can also set false into initPosition, initSize, initOpacity to prevent this behavior:
const agenda = new StaticActor(document.getElementById('agenda'), {
    initOpacity: false,
});
  • RefActor doesn't change its coordinates and sizes.

Built With

  • Vanilla JS
  • TypeScript
  • webpack

Author

  • Nikolay Grishkin - Initial work - GitHub

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.7.0-deprecation

3 months ago

1.7.0

10 months ago

1.6.3

12 months ago

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.3

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago