This package has been deprecated

Author message:

this package has been deprecated

rocket-modules

1.1.2 • Public • Published

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

Package Sidebar

Install

npm i rocket-modules

Weekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • chmtt.co