Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Directive to check if it was clicked outside the element

License

Notifications You must be signed in to change notification settings

vuestorefront-community/nuxt-click-outside

Repository files navigation

@vuestorefront-community/nuxt-click-outside

@vuestorefront-community/nuxt-click-outside

npm version npm downloads Github Actions CI License

Check if it is a click or touch event was outside the element

Features

  • Check if element was clicked outside
  • Validate for iFrames
  • Middleware for event handlers
  • Event handlers
  • Function for capturing the events
  • Select possible events type

📖  Read more

Contributing

You can contribute to this module online with CodeSandBox:

Edit @vuestorefront-community/nuxt-click-outside

Or locally:

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Copyright (c) Vue Storefront