Socket
Socket
Sign inDemoInstall

dile-close-document-click-mixin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dile-close-document-click-mixin - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "dile-close-document-click-mixin",
"version": "1.0.0",
"version": "1.0.1",
"description": "Mixin to close custom elements when user do click in any area of the document.",

@@ -5,0 +5,0 @@ "main": "dile-close-document-click-mixin.js",

@@ -34,1 +34,7 @@ # DileCloseDocumentClickMixin

## Important Notes
Please take in consideration this important points:
- You need to implement a close() method in your component, with the logic to close your own interface.
- You need to **stop the propagation of the click events** (event.closePropagation()), when you do not want to close all of your elements. For example, when the element opens by a user click in the page.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc