@dile/dile-app-drawer
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "@dile/dile-app-drawer", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Webcomponent to create a animated menu similar to the material design navigation drawer component", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "c1a6dc2e629de0a16e55b52b0e0d4526867eb0ec" | ||
"gitHead": "6788162ce064bfbb3dc716b120081df2471854c8" | ||
} |
@@ -46,2 +46,3 @@ # @dile/dile-app-drawer | ||
- **dile-app-drawer-closed**: Dispatched when the interface closes by any reason. | ||
- **dile-app-drawer-click-outside**: This custom event is dispatched when the drawer panel is closed because a user click outside the menu layer. | ||
@@ -48,0 +49,0 @@ |
@@ -101,2 +101,6 @@ import { LitElement, html, css } from "lit-element"; | ||
this.opened = false; | ||
this.dispatchEvent(new CustomEvent('dile-app-drawer-closed', { | ||
bubbles: true, | ||
composed: true, | ||
})); | ||
} | ||
@@ -103,0 +107,0 @@ |
6488
101
59