Skip to content

nattarnoff/omrijs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Switch for letting the user control animation on a site.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published