Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 626 Bytes

README.markdown

File metadata and controls

19 lines (12 loc) · 626 Bytes

Flying Focus · Focus Snail · Focus Zoom · Focus Hug

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.