diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 15c68e78..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "env": { - "es6": true, - "amd": true, - "browser": true, - "mocha": true, - "node": true - }, - "extends": "eslint:recommended", - "parserOptions": { - "sourceType": "module" - }, - "globals": { - "describe": true, - "it": true, - "expect": true, - "sinon": true - }, - "rules": { - "no-cond-assign": 2, - "no-console": 1, - "no-const-assign": 2, - "no-class-assign": 2, - "no-this-before-super": 2, - "no-unused-vars": 1, - "no-var": 2, - "object-shorthand": [2, "always"] - } -} diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 4964429a..00000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -*.js eol=lf diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 30d294d8..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,16 +0,0 @@ - - -### Environment - -* Operating System: -* Browser Version: -* ScrollReveal Version: diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 38bc6e19..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/.gitignore b/.gitignore index c3faa557..934c601a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -.DS_Store -.ignore/ -.vscode/ -node_modules/ -yarn.lock -package-lock.json +## generic files to ignore +*~ +*.lock +*.DS_Store +node_modules +test/bundle.js diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4d5e39f4..00000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js -dist: trusty -node_js: - - '9' -addons: - chrome: stable - hosts: localsauce -sudo: required -before_script: - - 'sudo chown root /opt/google/chrome/chrome-sandbox' - - 'sudo chmod 4755 /opt/google/chrome/chrome-sandbox' -after_success: - - npm run coverage diff --git a/CHANGELOG.md b/CHANGELOG.md index 90ac6307..8075a473 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,566 +1,108 @@ -# Change Log +###### scrollReveal.js Changelog -## [4.0.9] - 2021-03-04 +v0.1.3 May 26th, 2014 +------------------------- -### Fixed +- Add support for customizing starting element opacity (from kierzniak, see issue [#33](https://github.com/julianlloyd/scrollReveal.js/pull/33)) +- Implement RequestAnimationFrame (from pazguille, see issue [#46](https://github.com/julianlloyd/scrollReveal.js/pull/46)) +- Refactor how `styleBank` functions (from georgelee1, see issue [#38](https://github.com/julianlloyd/scrollReveal.js/pull/38)) -- Styles applied using CSSOM don't drop `:` characters. -## [4.0.8] - 2021-03-02 +v0.1.2 March 13th, 2014 +------------------------- -### Fixed +- Add support for elements with `position: fixed` (See issue [#35](https://github.com/julianlloyd/scrollReveal.js/pull/35)) +- Revise `genCSS()` method to create less greedy styles. (See issue [#37](https://github.com/julianlloyd/scrollReveal.js/pull/37)) -- Avoid Content Security Policy (CSP) violations. [@lambdacasserole](https://github.com/lambdacasserole) [#431](https://github.com/jlmakes/scrollreveal/pull/431) +v0.1.1 March 6th, 2014 +------------------------ -## [4.0.7] - 2020-07-15 +- Fixed a serious bug with `enter top` and `enter left` not correctly recognizing the pixel distance declared with the `move` keyword. **Fixes #13 and #31** (Thanks for catching this [Sherban](https://github.com/sherban1988) and [Danycerone](https://github.com/damycerone).) -### Fixed +v0.1.0 march 5th, 2014 +------------------------ -- Ensure element geometry exists. [#437](https://github.com/jlmakes/scrollreveal/issues/437) +- scrollReveal.js now has a `dist` folder containing the AMD/CommonJS compatibile library. +- [Gulp](http://gulpjs.com/) has been integrated, facilitating the build process. +- Basic testing using [Testling](https://ci.testling.com/) has been put in place. -## [4.0.6] - 2020-03-15 +### Breaking Changes -### Fixed +- scrollReveal is now implemented using the `data-scroll-reveal` attribute, **NOT** `data-scrollReveal`. -- Default transition values of `none` are now correctly ignored. [#231](https://github.com/jlmakes/scrollreveal/issues/231) +v0.0.4 February 28th, 2014 +--------------------------- -### Fixed +- scrollReveal no longer destroys the existing `style` attribute on revealed elements, but instead, now appends the necessary reveal animation styles after any existing styles. **(Fixes #18)** -## [4.0.5] - 2018-10-20 +>**Note:** scrollReveal will still override any existing transition or transform in the `style` attribute. -### Fixed +v0.0.3 February 22th, 2014 +--------------------------- -- Calling `reveal()` on the same `target` breaking animation. [#468](https://github.com/jlmakes/scrollreveal/issues/468) +- removed unnecessary styles (with `-moz-` & `-o-`) from css transitions & transforms +- added top-line comment, intending it to be kept after minification -## [4.0.4] - 2018-09-22 +v0.0.2 February 13th, 2014 +--------------------------- -### Fixed +- Added CHANGELOG +- Improved README -- Malformed `package.json` +### What’s New -## [4.0.3] - 2018-09-21 +#### Manual Instantiation +scrollReveal no longer automatically instantiates on the `DOMContentLoaded` event. It now requires that you instantiate it manually. -### Fixed +```html + -– `options.cleanup` is now correctly set to `false` by default. [#457](https://github.com/jlmakes/scrollreveal/issues/457) + + +``` +#### Defaults Object -- Null property assignment regression in mount function. [#456](https://github.com/jlmakes/scrollreveal/issues/456) +You can now pass your own starting defaults object to the scrollReveal constructor. -## [4.0.1] - 2018-09-09 +```html + +``` +#### Replay Reveal Animations +Due to popular demand, the `reset` keyword was added. Now, you can configure your animations to replay every time they enter the viewport: -### Added +*example*: +```html + +``` -- ScrollReveal can be enabled/disabled on desktops using `options.desktop`. -- The class `sr` is added to `` during instantiation when supported. [#294](https://github.com/jlmakes/scrollreveal/issues/294) -- `height: 100%` is added to `
` during instantiation when supported. [#298](https://github.com/jlmakes/scrollreveal/issues/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](https://github.comjlmakes/scrollreveal/issues/251) -- New `options.cleanup` toggles whether generated styles are removed upon reveal completion (when `options.reset` is `false`). [#292](https://github.comjlmakes/scrollreveal/issues/292) -- ScrollReveal tracks scroll direction as container store data. [#384](https://github.com/jlmakes/scrollreveal/issues/384) -- New `clean()` method removes specific generated styles and event listeners. [#227](https://github.com/jlmakes/scrollreveal/issues/227) -- New `destroy()` method removes all generated styles and event listeners. [#227](https://github.com/jlmakes/scrollreveal/issues/227) -- New `debug` static property toggles error messages in console. [#351](https://github.com/jlmakes/scrollreveal/issues/351) -- Instance methods now accept native arrays of HTML elements. +>**See it in action:** The [demo page](http://julianlloyd.me/scrollreveal) has been updated with the `reset: true` property. -### Changed +#### Easing Control +Now you can replace the `move` keyword with easing keywords to control the easing of your reveal animation. -- **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](https://opensource.org/licenses/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](https://github.com/jlmakes/scrollreveal/issues/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. - -## [3.3.6] - 2017-06-23 - -### Fixed - -- Element visibility now checks left and right boundaries correctly. [#352](https://github.com/jlmakes/scrollreveal/issues/352) -- Library version instance property is again accurate. - -## [3.3.5] - 2017-04-05 - -### Fixed - -- Patched to ensure version 3 is the default NPM package. - -## [3.3.4] - 2017-02-18 - -### Fixed - -- Update stale CDN link in README. - -### Changed - -- Add deprecation warnings to README. - -## [3.3.3] - 2017-02-18 - -### Fixed - -- Fix error when using Bower and Wordpress due to missing semi-colon. [#278](https://github.com/jlmakes/scrollreveal/issues/278) - -## [3.3.2] - 2016-10-02 - -### Changed - -- Updated Starting Defaults section in README. [#273](https://github.comjlmakes/scrollreveal/issues/273) - -### Fixed - -- Using a selector to define a default container during instantiation now works. [#289](https://github.com/jlmakes/scrollreveal/issues/289) - -## [3.3.1] - 2016-07-22 - -### Fixed - -- Instance variable `version` updated with correct library version. - -## [3.3.0] - 2016-07-22 - -### Added - -- New callback `beforeReveal(el)`. [#273](https://github.comjlmakes/scrollreveal/issues/273) -- New callback `beforeReset(el)`. [#273](https://github.com/jlmakes/scrollreveal/issues/273) - -## [3.2.0] - 2016-07-08 - -### Added - -- New `isNodeList()` method added to `Tools`. -- New `version` instance variable contains library version. -- HTML Collections are now supported as the first argument in `reveal()`. [#246](https://github.com/jlmakes/scrollreveal/issues/246) -- Added fallback for `requestAnimationFrame`. [#267](https://github.comjlmakes/scrollreveal/issues/267) - -### Changed - -- Updated Starting Defaults section in README. - -### Fixed - -- Calling `reveal()` multiple times on an element with `config.origin` as `top` or `left` no longer produces invalid CSS. [#270](https://github.com/jlmakes/scrollreveal/issues/270) -- Refactored AMD/CommonJS module wrapper to work with Codekit. [#253](https://github.com/jlmakes/scrollreveal/issues/253) - -## [3.1.5] - 2016-07-06 - -### Fixed - -- `sync()` method now properly supports sequences. - -## [3.1.4] - 2016-03-28 - -### Changed - -- Added `console.log` calls back to non-minified distribution. [#235](https://github.com/jlmakes/scrollreveal/issues/235) - -## [3.1.3] - 2016-03-28 - -### Removed - -- Removed `console.log` calls from distribution. [#235](https://github.comjlmakes/scrollreveal/issues/235) - -## [3.1.2] - 2016-03-23 - -### Fixed - -- Removed stray quotation mark in `reveal()` error message. - -## [3.1.1] - 2016-03-08 - -### Fixed - -- `config.reset` now works properly with sequences. [#241](https://github.comjlmakes/scrollreveal/issues/241) - -## [3.1.0] - 2016-03-07 - -### Added - -- New `isNode()` method added to `Tools`. -- HTML elements are now supported as the first argument in `reveal()`. -- Selector strings assigned to `config.container` are now supported. -- `reveal()` now accepts an `interval` as it's last argument to create sequences. [#86](https://github.com/jlmakes/scrollreveal/issues/86) [#180](https://github.com/jlmakes/scrollreveal/issues/180) [#187](https://github.comjlmakes/scrollreveal/issues/187) [#215](https://github.com/jlmakes/scrollreveal/issues/215) [#234](https://github.com/jlmakes/scrollreveal/issues/234) -- New section on sequenced animations added to README. - -### Changed - -- Messages logged to console are now prepended with `ScrollReveal:` for clarity. -- Revised and renamed `supported()` method to `isSupported()`. -- Updated Custom Containers section in README with an example using a selector. -- Updated Tips section in README. - -### Fixed - -- Added semi-colon before global IIFE to improve reliability. [#228](https://github.com/jlmakes/scrollreveal/issues/228) -- The existence of `console.log` is now confirmed for IE9. [#230](https://github.com/jlmakes/scrollreveal/issues/230) -- Typos, indentation and semicolons corrected in README. - -## [3.0.9] - 2016-01-14 - -### Changed - -- Updated example site links in the README. - -### Fixed - -- Fixed operator mismatch inside `supported()`. [#220](https://github.comjlmakes/scrollreveal/issues/220) - -## [3.0.8] - 2016-01-13 - -### Changed - -- Public methods now verify that ScrollReveal is supported. - -### Fixed - -- Updated Tips section in README. - -## [3.0.7] - 2016-01-13 - -### Added - -- Added brower support information to README. [#219](https://github.comjlmakes/scrollreveal/issues/219) - -### Changed - -- `console.log` is now used instead of `console.warn`. [#215](https://github.com/jlmakes/scrollreveal/issues/215) -- Moved `tools.isSupported` method to `ScrollReveal.prototype.supported`. -- Updated the configuration and tips documentation in the README. - -### Removed - -- The `init()` method was removed. - -### Fixed - -- Using `config.mobile` in `reveal()` now works. [#216](https://github.comjlmakes/scrollreveal/issues/216) - -## [3.0.6] - 2016-01-02 - -### Fixed - -- Custom default containers are now used. -- Critical issues affecting Chrome on iOS were (finally) solved. [#196](https://github.com/jlmakes/scrollreveal/issues/196) -- Revisited `3.0.4` changes to chaining `reveal()` calls. [#212](https://github.com/jlmakes/scrollreveal/issues/212) - -## [3.0.5] - 2015-12-30 - -### Fixed - -- Fixed compatibility issues with Webpack. [#209](https://github.comjlmakes/scrollreveal/issues/209) - -## [3.0.4] - 2015-12-30 - -### Fixed - -- Squashed Webkit browser bugs due to syntax errors. [#208](https://github.comjlmakes/scrollreveal/issues/208) -- Chaining `reveal()` calls no longer prematurely initialize animation. -- Cleaned up README typos, and stale reference to `config.wait`. - -## [3.0.3] - 2015-12-22 - -### Changed - -- `reveal()` and `sync()` now return the ScrollReveal instance even on failure. [#198](https://github.com/jlmakes/scrollreveal/issues/198) - -## [3.0.2] - 2015-12-22 - -### Added - -- Added `bower.json` to release package. [#199](https://github.comjlmakes/scrollreveal/issues/199) - -### Fixed - -- Preexisting CSS transition styles are no longer destroyed. [#197](https://github.com/jlmakes/scrollreveal/issues/197) - -## [3.0.1] - 2015-12-21 - -### Changed - -- Updated Getting Started section in the README. - -### Fixed - -- Hard learned NPM and Bower issues related to release management were endured. -- Issues related to element visibility and animation behavior were addressed. [#193](https://github.com/jlmakes/scrollreveal/issues/193) [#196](https://github.comjlmakes/scrollreveal/issues/196) - -## [3.0.0] - 2015-12-15 - -This version marks a significant change in how developers use ScrollReveal, introducing a JavaScript API to replace the inline attribute parser. It's a big shift, but prioritizes maintainability and flexibility over the novelty of natural language parsing. - -### Added - -- New method `reveal()`. [#1](https://github.com/jlmakes/scrollreveal/issues/1) [#122](https://github.com/jlmakes/scrollreveal/issues/122) -- New method `sync()`. -- New callback `config.afterReset`. -- Horizontal scrolling is now supported. [#184](https://github.comjlmakes/scrollreveal/issues/184) - -### Changed - -- **Breaking:** `config.enter` renamed `config.origin`. -- **Breaking:** `config.wait` renamed `config.delay`. -- **Breaking:** `config.delay` renamed `config.useDelay`. -- **Breaking:** `config.over` renamed `config.duration`. -- **Breaking:** `config.move` renamed `config.distance`. -- **Breaking:** `config.viewport` renamed `config.container`. -- **Breaking:** `config.vFactor` renamed `config.viewFactor`. -- **Breaking:** `config.complete` renamed `config.afterReveal`. -- **Breaking:** Time values are now expected in milliseconds (instead of `string`). -- **Breaking:** `config.scale` expects value type `number` (instead of `object`). -- **Breaking:** `config.rotation` axis values require `string` with unit type (instead of `number`). -- **Breaking:** ScrollReveal constructor is now capitalized. -- Reveals now resolve to element's computed opacity, instead of `1`. [#185](https://github.com/jlmakes/scrollreveal/issues/185) - -### Removed - -- ScrollReveal no longer recognizes `data-sr` attributes. - -### Fixed - -- Improved reliability of callback timers. - -## [2.3.2] - 2015-06-15 - -### Changed - -- Updated `bower.json` syntax. [#150](https://github.com/jlmakes/scrollreveal/issues/150) - -## [2.3.1] - 2015-06-04 - -### Added - -- Simple instantiation (without `new` keyword) is now supported. [#148](https://github.com/jlmakes/scrollreveal/issues/148) - -## [2.3.0] - 2015-04-25 - -### Added - -- New keyword `vFactor` and alias `vF` control when an element is considered visible. -- New keyword `opacity` controls starting opacity. - -### Removed - -- The easing keyword `hustle` was removed. - -## [2.2.0] - 2015-03-18 - -### Added - -- New keyword `spin` controls yaw. -- New keyword `roll` controls roll. -- New keyword `flip` controls pitch. - -### Changed - -- Improved Basic Usage examples in README. - -## [2.1.0] - 2014-11-25 - -### Added - -- Various tablets added to mobile device detection. [#32](https://github.comjlmakes/scrollreveal/issues/32) [#81](https://github.com/jlmakes/scrollreveal/issues/81) -- CSS Transition support is now confirmed during instantiation. [#109](https://github.com/jlmakes/scrollreveal/issues/109) - -## [2.0.5] - 2014-11-23 - -### Changed - -- Reverted `2.0.4` change to element animation logic. [#108](https://github.comjlmakes/scrollreveal/issues/108) - -## [2.0.4] - 2014-11-21 - -### Changed - -- Revised how element animations are handled. -- Reverted `2.0.3` change to element visibility logic. [#106](https://github.com/jlmakes/scrollreveal/issues/106) - -## [2.0.3] - 2014-11-14 - -### Added - -- `data-sr` attributes are now stripped from initialized elements. [#100](https://github.com/jlmakes/scrollreveal/issues/100) @orapouso. -- Live Reload added to development environment. - -### Changed - -- Revised how element visibility is determined. - -### Removed - -- Multiple instances sharing the same viewport element no longer throw an error. [#98](https://github.com/jlmakes/scrollreveal/issues/98) @orapouso. - -### Fixed - -- Incomplete support for `config.delay = "onload"` was addressed. -- Issues related to `setTimeout`, `config.complete` and incorrect animation timing were addressed. [#96](https://github.com/jlmakes/scrollreveal/issues/96) - -## [2.0.2] - 2014-10-23 - -### Added - -- An error is now thrown when multiple instances share the same viewport element. [#91](https://github.com/jlmakes/scrollreveal/issues/91) - -### Fixed - -- Updated NPM and Bower references with new distribution path. - -## [2.0.1] - 2014-10-18 - -### Fixed - -- Incomplete support for `config.viewport` was addressed. [#67](https://github.com/jlmakes/scrollreveal/issues/67) [#68](https://github.comjlmakes/scrollreveal/issues/68) - -## [2.0.0] - 2014-10-17 - -### Added - -- New keyword `scale` controls element starting size. -- New option `config.complete` defines a callback for when reveals finish. -- New option `config.viewport` defines custom viewports. -- New option `config.mobile` enables/disables ScrollReveal on mobile devices. -- New option `config.delay` controls when animations are delayed. - -### Changed - -- **BREAKING:** ScrollReveal now uses the `data-sr` instead of `data-scroll-reveal`. -- Repository now follows [Semantic Versioning](http://semver.org/). - -### Removed - -- The `after` keyword was removed. - -## 0.1.3 - 2014-05-26 [YANKED] - -### Added - -- Configuration now includes starting opacity. [#33](https://github.comjlmakes/scrollreveal/issues/33) @kierzniak -- New `data-scroll-reveal-id` attribute added to revealed DOM elements. - -### Changed - -- Scroll event handling now uses `requestAnimationFrame`. [#48](https://github.com/jlmakes/scrollreveal/issues/48) @pazguille -- Generated styles are now stored in an object corresponding to the `data-scroll-reveal-id` attribute on each element. [#38](https://github.com/jlmakes/scrollreveal/pull/38) @georgelee1 - -## 0.1.2 - 2014-03-13 [YANKED] - -### Added - -- Elements with `position: fixed` are now supported. [#35](https://github.comjlmakes/scrollreveal/issues/35) - -### Fixed - -- Generated styles are now more specific. [#37](https://github.comjlmakes/scrollreveal/issues/37) - -## 0.1.1 - 2014-03-06 [YANKED] - -### Fixed - -- Squashed bug with `enter top` and `enter left`. [#13](https://github.comjlmakes/scrollreveal/issues/13) [#31](https://github.com/jlmakes/scrollreveal/issues/31) @sherban @danycerone - -## 0.1.0 - 2014-03-05 [YANKED] - -### Added - -- Distribution now supports AMD/CommonJS. -- Repository now uses Gulp. -- Boilerplate Testline suite added to repository. - -### Changed - -- **BREAKING:** ScrollReveal now uses the `data-scroll-reveal` attribute to parse animation instructions, in place of `data-scrollReveal`. - -## 0.0.4 - 2014-02-28 [YANKED] - -### Fixed - -- ScrollReveal no longer destroys the existing style attribute on revealed elements, but instead, now appends the necessary animation styles to existing inline styles. - -## 0.0.3 - 2014-02-22 [YANKED] - -### Fixed - -- Removed unused CSS Transition/Transform prefixes for Mozilla and Opera. - -## 0.0.2 - 2014-02-13 [YANKED] - -### Added - -- Constructor now accepts a configuration object to customize defaults. -- New `reset` keyword allows elements to reveal each time they enter the viewport. -- The `move` keyword can now be replaced with with CSS easing keywords (e.g. `ease-in-out`). -- Library documentation and code examples added to README. - -### Changed - -- ScrollReveal is no longer automatically instantiated by the `DOMContentLoaded` event. - -## 0.0.1 - 2014-01-22 [YANKED] - -### Hello World - -[4.0.9]: https://github.com/jlmakes/scrollreveal/compare/v4.0.8...v4.0.9 -[4.0.8]: https://github.com/jlmakes/scrollreveal/compare/v4.0.7...v4.0.8 -[4.0.7]: https://github.com/jlmakes/scrollreveal/compare/v4.0.6...v4.0.7 -[4.0.6]: https://github.com/jlmakes/scrollreveal/compare/v4.0.5...v4.0.6 -[4.0.5]: https://github.com/jlmakes/scrollreveal/compare/v4.0.4...v4.0.5 -[4.0.4]: https://github.com/jlmakes/scrollreveal/compare/v4.0.3...v4.0.4 -[4.0.3]: https://github.com/jlmakes/scrollreveal/compare/v4.0.2...v4.0.3 -[4.0.2]: https://github.com/jlmakes/scrollreveal/compare/v4.0.1...v4.0.2 -[4.0.1]: https://github.com/jlmakes/scrollreveal/compare/v4.0.0...v4.0.1 -[4.0.0]: https://github.com/jlmakes/scrollreveal/compare/v3.3.6...v4.0.0 -[3.3.6]: https://github.com/jlmakes/scrollreveal/compare/v3.3.5...v3.3.6 -[3.3.5]: https://github.com/jlmakes/scrollreveal/compare/v3.3.4...v3.3.5 -[3.3.4]: https://github.com/jlmakes/scrollreveal/compare/v3.3.3...v3.3.4 -[3.3.3]: https://github.com/jlmakes/scrollreveal/compare/v3.2.2...v3.3.3 -[3.3.2]: https://github.com/jlmakes/scrollreveal/compare/v3.3.1...v3.3.2 -[3.3.1]: https://github.com/jlmakes/scrollreveal/compare/v3.3.0...v3.3.1 -[3.3.0]: https://github.com/jlmakes/scrollreveal/compare/v3.2.0...v3.3.0 -[3.2.0]: https://github.com/jlmakes/scrollreveal/compare/v3.1.5...v3.2.0 -[3.1.5]: https://github.com/jlmakes/scrollreveal/compare/v3.1.4...v3.1.5 -[3.1.4]: https://github.com/jlmakes/scrollreveal/compare/v3.1.3...v3.1.4 -[3.1.3]: https://github.com/jlmakes/scrollreveal/compare/v3.1.2...v3.1.3 -[3.1.2]: https://github.com/jlmakes/scrollreveal/compare/v3.1.1...v3.1.2 -[3.1.1]: https://github.com/jlmakes/scrollreveal/compare/v3.1.0...v3.1.1 -[3.1.0]: https://github.com/jlmakes/scrollreveal/compare/v3.0.9...v3.1.0 -[3.0.9]: https://github.com/jlmakes/scrollreveal/compare/v3.0.8...v3.0.9 -[3.0.8]: https://github.com/jlmakes/scrollreveal/compare/v3.0.7...v3.0.8 -[3.0.7]: https://github.com/jlmakes/scrollreveal/compare/v3.0.6...v3.0.7 -[3.0.6]: https://github.com/jlmakes/scrollreveal/compare/v3.0.5...v3.0.6 -[3.0.5]: https://github.com/jlmakes/scrollreveal/compare/v3.0.4...v3.0.5 -[3.0.4]: https://github.com/jlmakes/scrollreveal/compare/v3.0.3...v3.0.4 -[3.0.3]: https://github.com/jlmakes/scrollreveal/compare/v3.0.2...v3.0.3 -[3.0.2]: https://github.com/jlmakes/scrollreveal/compare/v3.0.1...v3.0.2 -[3.0.1]: https://github.com/jlmakes/scrollreveal/compare/v3.0.0...v3.0.1 -[3.0.0]: https://github.com/jlmakes/scrollreveal/compare/v2.3.2...v3.0.0 -[2.3.2]: https://github.com/jlmakes/scrollreveal/compare/v2.3.1...v2.3.2 -[2.3.1]: https://github.com/jlmakes/scrollreveal/compare/v2.3.0...v2.3.1 -[2.3.0]: https://github.com/jlmakes/scrollreveal/compare/v2.2.0...v2.3.0 -[2.2.0]: https://github.com/jlmakes/scrollreveal/compare/v2.1.0...v2.2.0 -[2.1.0]: https://github.com/jlmakes/scrollreveal/compare/v2.0.5...v2.1.0 -[2.0.5]: https://github.com/jlmakes/scrollreveal/compare/v2.0.4...v2.0.5 -[2.0.4]: https://github.com/jlmakes/scrollreveal/compare/v2.0.3...v2.0.4 -[2.0.3]: https://github.com/jlmakes/scrollreveal/compare/v2.0.2...v2.0.3 -[2.0.2]: https://github.com/jlmakes/scrollreveal/compare/v2.0.1...v2.0.2 -[2.0.1]: https://github.com/jlmakes/scrollreveal/compare/v2.0.0...v2.0.1 -[2.0.0]: https://github.com/jlmakes/scrollreveal/tree/v2.0.0 +*example*: +```html +
-
-
-
-
-
-
-
-
Animate elements as they scroll into view.
- - - -