Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 818 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 818 Bytes

Omri.js

A javascript library designed to give the user control over animations. A demo of the concept is available at Codepen.

To Use

  1. Include the js file in the head of the document.
  2. Set all animations to only run when the parent class of 'animate' is found on the body.
  3. Design all animations so that the final "read" state is what the page looks like when there is not animate class

The JS will inject a toggle before any content defaulted to off. When a use clicks the toggle to on, the animations will play.

API

To override default off Change language Color change Transparent bar fixed position

Working on this

  1. Dependancies: Ruby, Sass, Node, NPM, Grunt
  2. Run npm install
  3. Running node server.js will open the page on localhost:8080