barrel-roll.js

0.1.8 • Public • Published

barrel-roll.js

npm version

Tired of boring old webpages that do not roll? Well, you've come to the right place!

Rotates the page 360 degrees like Google's "do a barrel roll".

##Installation To install via npm:

npm install barrel-roll.js --save

or simply copy the javascript file from the dist folder.

##Usage

  1. Include the javascript file in your document:
<script src="barrel-roll.js"></script>
  1. Call doBarrelRoll() to perform a barrel roll! (duh)

Example 1:

if(doge) {
  doBarrelRoll();
}

Example 2:

<button onclick="doBarrelRoll()">Click me</button>

##License barrel-roll.js is licensed under the MIT license. (http://opensource.org/licenses/MIT)

##Contributing You're more than welcome to contribute to this project. Pull requests are the way to go here~

Readme

Keywords

none

Package Sidebar

Install

npm i barrel-roll.js

Weekly Downloads

1

Version

0.1.8

License

MIT

Last publish

Collaborators

  • arora.ujjwal