@vaadin/vaadin-element-mixin
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -12,3 +12,3 @@ { | ||
"name": "@vaadin/vaadin-element-mixin", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"main": "vaadin-element-mixin.js", | ||
@@ -15,0 +15,0 @@ "author": "Vaadin Ltd", |
@@ -23,2 +23,3 @@ /** | ||
new(...args: any[]): DirMixin; | ||
finalize(): void; | ||
} | ||
@@ -25,0 +26,0 @@ |
@@ -13,3 +13,3 @@ import { DirHelper } from './vaadin-dir-helper.js'; | ||
const scrollType = DirHelper.detectScrollType(); | ||
let scrollType; | ||
@@ -48,2 +48,11 @@ const directionObserver = new MutationObserver(directionUpdater); | ||
/** @protected */ | ||
static finalize() { | ||
super.finalize(); | ||
if (!scrollType) { | ||
scrollType = DirHelper.detectScrollType(); | ||
} | ||
} | ||
/** @protected */ | ||
connectedCallback() { | ||
@@ -50,0 +59,0 @@ super.connectedCallback(); |
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
23761
354