@vaadin-component-factory/vcf-popup
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ import '@polymer/iron-demo-helpers/demo-pages-shared-styles'; |
{ | ||
"name": "@vaadin-component-factory/vcf-popup", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Vaadin Component Factory Popup for Polymer 3", | ||
@@ -5,0 +5,0 @@ "main": "theme/lumo/vcf-popup.js", |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ /* eslint-disable max-len */ |
@@ -0,0 +0,0 @@ # <vcf-popup> |
@@ -51,2 +51,5 @@ /* | ||
static get version() { | ||
return '1.2.5'; | ||
} | ||
/** | ||
@@ -105,2 +108,4 @@ * Object describing property-related metadata used by Polymer features | ||
this.$.popupOverlay.template = this.querySelector('template'); | ||
this.$.popupOverlay.addEventListener('vaadin-overlay-open', () => this._popupOpenChanged(true)); | ||
this.$.popupOverlay.addEventListener('vaadin-overlay-close', () => this._popupOpenChanged(false)); | ||
if (this.closeOnClick) { | ||
@@ -167,2 +172,11 @@ this.$.popupOverlay.addEventListener('click', this._boundHide); | ||
} | ||
_popupOpenChanged(isOpened) { | ||
this.dispatchEvent(new CustomEvent('popup-open-changed', { | ||
detail: { | ||
opened: isOpened | ||
} | ||
})); | ||
} | ||
} | ||
@@ -169,0 +183,0 @@ |
@@ -0,0 +0,0 @@ import '@vaadin/vaadin-lumo-styles/spacing'; |
import './vcf-popup-styles'; | ||
import '../../src/vcf-popup'; |
@@ -0,0 +0,0 @@ ## Usage |
@@ -0,0 +0,0 @@ 'use strict'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
77638
26
401