Skip to content
gh-pages
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.markdown

Flying Focus · Focus Snail · Focus Zoom · Focus Hug

focus-hug.js

To use, just include <script src="focus-hug.js"></script> inside either <head> or <body>. It includes all necessary CSS and has no external dependencies.

To build from source use rake standalone.

API

Focus Hug exposes focusHug global variable.

focusHug.trigger(element) manually runs for the specified element.

focusHug.enabled = true trigger the effect on focus event.

You can’t perform that action at this time.