Custom solutions for Vue projects.
To install vuenex
simply run (yarn or npm):
yarn add -D vuenex
npm i -D vuenex
- useBlur (Function) β Removes
focus
from a specific element. - useFocus (Function + Directive) β Sets
focus
on a specific element. - useVisibility (Function) β Checks an element
visibility
within the viewport.
- useClick (Function + Directive) β Triggers custom actions on element
click
. - useClickOutside (Function + Directive) β Detects clicks
outside
of an element. - useEvent (Function) β Sets
event
on a specific target.
- useOnBeforeUnmount (Function) β Checks if
onBeforeUnmount
hook is called inside of a component lifecycle. - useOnMounted (Function) β Checks if
onMounted
hook is called inside of a component lifecycle. - useUnref (Function) β Checks the
ref
value. - utils (Utilities) β A set of useful
utilities
.
- VueNex (Plugin) β Activates all
directives
globally.
Check out the Contributing Guide for more info.
Copyright Β© Ivo Dolenc
Developed in Croatia ππ·