Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scrollreveal

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrollreveal - npm Package Versions

23
7

4.0.9

Diff

Changelog

Source

[4.0.9] - 2021-03-04

Fixed

  • Styles applied using CSSOM don't drop : characters.
jlmakes
published 4.0.8 •

Changelog

Source

[4.0.8] - 2021-03-02

Fixed

  • Avoid Content Security Policy (CSP) violations. @lambdacasserole #431
jlmakes
published 4.0.7 •

Changelog

Source

[4.0.7] - 2020-07-15

Fixed

  • Ensure element geometry exists. #437
jlmakes
published 4.0.6 •

Changelog

Source

[4.0.6] - 2020-03-15

Fixed

  • Default transition values of none are now correctly ignored. #231

Fixed

jlmakes
published 4.0.5 •

Changelog

Source

[4.0.5] - 2018-10-20

Fixed

  • Calling reveal() on the same target breaking animation. #468
jlmakes
published 4.0.4 •

Changelog

Source

[4.0.4] - 2018-09-22

Fixed

  • Malformed package.json
jlmakes
published 4.0.3 •

Changelog

Source

[4.0.3] - 2018-09-21

Fixed

options.cleanup is now correctly set to false by default. #457

jlmakes
published 4.0.2 •

Changelog

Source

[4.0.2] - 2018-09-11

Fixed

  • Null property assignment regression in mount function. #456
jlmakes
published 4.0.1 •

Changelog

Source

[4.0.1] - 2018-09-09

Fixed

  • Noop instances were not correctly unmounting from the DOM. #455
  • Readme links to pricing page no longer 404.
jlmakes
published 4.0.0 •

Changelog

Source

[4.0.0] - 2018-08-06

Added

  • ScrollReveal can be enabled/disabled on desktops using options.desktop.
  • The class sr is added to <html> during instantiation when supported. #294
  • height: 100% is added to <body> during instantiation when supported. #298
  • Unused containers are removed from the store, and their event listeners destroyed.
  • ScrollReveal skips generating opacity styles when options.opacity is set to null.
  • ScrollReveal retains element CSS transformations. #251
  • New options.cleanup toggles whether generated styles are removed upon reveal completion (when options.reset is false). #292
  • ScrollReveal tracks scroll direction as container store data. #384
  • New clean() method removes specific generated styles and event listeners. #227
  • New destroy() method removes all generated styles and event listeners. #227
  • New debug static property toggles error messages in console. #351
  • Instance methods now accept native arrays of HTML elements.

Changed

  • Breaking: The reveal() method no longer accepts an interval parameter. Instead, sequence intervals are now defined with options.interval.
  • Breaking: The instance method isSupported() is now static.
  • Breaking: options.distance supports only em px and % values.
  • Breaking: ScrollReveal methods are no longer chainable.
  • Breaking: ScrollReveal requires a commercial license, unless for GPL-3.0 compatible open source projects.
  • Elements in a reveal sequence are no longer grouped, and reveal progressively when visible.
  • ScrollReveal uses a single matrix3d() property, with the correct prefix and only when necessary. #292
  • ScrollReveal returns a non-operational instance when instantiated in unsupported browsers.
  • ScrollReveal version is now a read-only instance property.
  • ScrollReveal methods are now bound read-only instance properties.
  • options.viewFactor clamps values outside of 0.0 to 1.0.
  • ScrollReveal constructor now returns a singleton.

Fixed

  • The requestAnimationFrame polyfill now reliably throttles callback invocations.
23
7
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc