@vaadin/virtual-list 23.1.0-alpha1 → 23.1.0-alpha4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/virtual-list",
|
|
3
|
-
"version": "23.1.0-
|
|
3
|
+
"version": "23.1.0-alpha4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "23.1.0-
|
|
38
|
-
"@vaadin/vaadin-lumo-styles": "23.1.0-
|
|
39
|
-
"@vaadin/vaadin-material-styles": "23.1.0-
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "23.1.0-
|
|
37
|
+
"@vaadin/component-base": "23.1.0-alpha4",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha4",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "23.1.0-alpha4",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@esm-bundle/chai": "^4.3.4",
|
|
44
|
-
"@vaadin/polymer-legacy-adapter": "23.1.0-
|
|
44
|
+
"@vaadin/polymer-legacy-adapter": "23.1.0-alpha4",
|
|
45
45
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
46
46
|
"lit": "^2.0.0",
|
|
47
|
-
"sinon": "^
|
|
47
|
+
"sinon": "^13.0.2"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71"
|
|
50
50
|
}
|
|
@@ -84,7 +84,7 @@ class VirtualList extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
84
84
|
renderer: Function,
|
|
85
85
|
|
|
86
86
|
/** @private */
|
|
87
|
-
__virtualizer: Object
|
|
87
|
+
__virtualizer: Object,
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -101,7 +101,7 @@ class VirtualList extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
101
101
|
updateElement: this.__updateElement.bind(this),
|
|
102
102
|
elementsContainer: this,
|
|
103
103
|
scrollTarget: this,
|
|
104
|
-
scrollContainer: this.shadowRoot.querySelector('#items')
|
|
104
|
+
scrollContainer: this.shadowRoot.querySelector('#items'),
|
|
105
105
|
});
|
|
106
106
|
|
|
107
107
|
processTemplates(this);
|
|
@@ -183,7 +183,9 @@ class VirtualList extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
183
183
|
* It is not guaranteed that the update happens immediately (synchronously) after it is requested.
|
|
184
184
|
*/
|
|
185
185
|
requestContentUpdate() {
|
|
186
|
-
|
|
186
|
+
if (this.__virtualizer) {
|
|
187
|
+
this.__virtualizer.update();
|
|
188
|
+
}
|
|
187
189
|
}
|
|
188
190
|
}
|
|
189
191
|
|