1.1.2 • Published 7 years ago

rocket-modules v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

rocket-modules

rocket-modules are simple to use & lightweight jQuery modules for an faster & better frontend development.

Modules

  • Parallax
  • Dynamic Meta URL
  • Smooth Scroll

Upcoming Modules

  • Dropdown
  • Expand

General Usage

rocket-modules requires jQuery v3+ to run.

import { parallax, dynamicMetaUrl, smoothScroll } from 'rocket-modules';

parallax();
dynamicMetaUrl();
smoothScroll();

Parallax Usage

To use parallax you have to add the parallax attribute to an element of your choice. Don't forget to add an ratio.

<div parallax=".75"><div>

dynamicMetaUrl Usage

Nothing to do here. Just be sure to import it :)

smoothScroll Usage

For smoothScroll just link to an ID on the same page.

<a href="#Target"></a>
<div id="Target"><div>

License

MIT

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago