To use, just include
<script src="focus-hug.js"></script> inside either
It includes all necessary CSS and has no external dependencies.
To build from source use
Focus Hug exposes
focusHug global variable.
focusHug.trigger(element) manually runs for the specified element.
focusHug.enabled = true trigger the effect on focus event.