0.8.1 • Published 2 years ago
vuenex v0.8.1
Quick Start 🧑💻
To install vuenex
simply run (yarn or npm):
yarn add -D vuenex
npm i -D vuenex
Composables 🛠
Elements
- useBlur → Removes
focus
from a specific element. - useDomMethods → Triggers custom
DOM methods
on a specific element. - useFocus → Sets
focus
on a specific element. - useVisibility → Checks an element
visibility
within the viewport.
Events
- useClickOutside → Detects clicks
outside
of an element. - useEvent → Sets
event
on a specific target. - useKey → Triggers the callback on a specific
key
press. - useKeys → Tracks
keys
pressed at the same time.
Shared
- useOnBeforeUnmount → Checks if
onBeforeUnmount
hook is called inside of a component lifecycle. - useOnMounted → Checks if
onMounted
hook is called inside of a component lifecycle. - useUnref → Checks the
ref
value. - utils → A set of useful
utilities
.
Plugin
- VueNex → Activates all
directives
globally.
Contributing 🤝
Check out the Contributing Guide for more info.
License 📃
VueNex
Copyright © Ivo Dolenc
Developed in Croatia 🇭🇷