Directive to check if it was clicked outside the element
@vuestorefront-community/nuxt-click-outside
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
Contributing
You can contribute to this module online with CodeSandBox:
Or locally:
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
yarn dev
ornpm run dev
License
Copyright (c) Vue Storefront