@omegagrid/core
Advanced tools
Comparing version 0.2.48 to 0.2.49
@@ -60,3 +60,3 @@ "use strict"; | ||
let height = this.collapsed ? this.contentHeight : 0; | ||
const resizeEvent = new Event('resize'); | ||
const resizeEvent = new Event('resize', { bubbles: true, composed: true }); | ||
if (!this.collapsed) { | ||
@@ -66,3 +66,3 @@ common_1.dom.setMaxSize(this.body, { h: 0 }); | ||
} | ||
this.dispatchEvent(new Event('resizestart')); | ||
this.dispatchEvent(new Event('resizestart', { bubbles: true, composed: true })); | ||
this.interval = window.setInterval(this.collapsed ? () => { | ||
@@ -76,3 +76,3 @@ height = Math.max(0, height - step); | ||
this.collapsing = false; | ||
this.dispatchEvent(new Event('resizestop')); | ||
this.dispatchEvent(new Event('resizestop', { bubbles: true, composed: true })); | ||
} | ||
@@ -87,3 +87,3 @@ this.dispatchEvent(resizeEvent); | ||
this.collapsing = false; | ||
this.dispatchEvent(new Event('resizestop')); | ||
this.dispatchEvent(new Event('resizestop', { bubbles: true, composed: true })); | ||
} | ||
@@ -90,0 +90,0 @@ this.dispatchEvent(resizeEvent); |
{ | ||
"name": "@omegagrid/core", | ||
"version": "0.2.48", | ||
"version": "0.2.49", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "description": "Core components", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
450351
388
10