/vuenex

Custom solutions for Vue projects.

Primary LanguageJavaScriptMIT LicenseMIT



VueNex

Custom solutions for Vue projects.


Quick Start 🧑‍💻

To install vuenex simply run (yarn or npm):

yarn add -D vuenex
npm i -D vuenex

Composables 🛠

Elements

  • 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.

Events

  • 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.

Shared

  • 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.

Plugin

  • VueNex (Plugin) → Activates all directives globally.

Contributing 🤝

Check out the Contributing Guide for more info.

License 📃

VueNex

MIT License

Copyright © Ivo Dolenc

Developed in Croatia 🇭🇷