focusable alternatives and similar libraries
Based on the "Tours And Guides" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of focusable or a related project?
An awesome and lightweight library for performing spotlight in your DOM elements, setting an animated overlay to the rest of the page. You can find a live demo here.
$ npm i focusable-element --save
$ bower i focusable-element
Set spotlight (jQuery style)
Set spotlight (through library)
Refresh current focused element
Get focused element
|fadeDuration||Number||700||Duration of the overlay transition (milliseconds).|
|hideOnClick||Boolean||false||Hides the overlay when the user click into it.|
|hideOnESC||Boolean||false||Hides the overlay when the user press Esc.|
|findOnResize||Boolean||false||Refind the element in the DOM in case that the element don't still exists.|
|circle||Boolean||false||Have the spotlight in a circle shape|
- See the result of testsuite in http://localhost:9092
- Check open issues
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
You can follow me on Twitter - https://twitter.com/zzarcon