@vaadin/virtual-list
Advanced tools
Comparing version 24.0.0-alpha1 to 24.0.0-alpha10
{ | ||
"name": "@vaadin/virtual-list", | ||
"version": "24.0.0-alpha1", | ||
"version": "24.0.0-alpha10", | ||
"publishConfig": { | ||
@@ -41,11 +41,11 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "24.0.0-alpha1", | ||
"@vaadin/lit-renderer": "24.0.0-alpha1", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha1", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha1", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha1" | ||
"@vaadin/component-base": "24.0.0-alpha10", | ||
"@vaadin/lit-renderer": "24.0.0-alpha10", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha10", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha10", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha10" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/polymer-legacy-adapter": "24.0.0-alpha1", | ||
"@vaadin/polymer-legacy-adapter": "24.0.0-alpha10", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
@@ -59,3 +59,3 @@ "lit": "^2.0.0", | ||
], | ||
"gitHead": "427527c27c4b27822d61fd41d38d7b170134770b" | ||
"gitHead": "2e04534d8b47bcd216f89b5f849bafef1a73b174" | ||
} |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -104,2 +104,20 @@ */ | ||
/** | ||
* Gets the index of the first visible item in the viewport. | ||
* | ||
* @return {number} | ||
*/ | ||
get firstVisibleIndex() { | ||
return this.__virtualizer.firstVisibleIndex; | ||
} | ||
/** | ||
* Gets the index of the last visible item in the viewport. | ||
* | ||
* @return {number} | ||
*/ | ||
get lastVisibleIndex() { | ||
return this.__virtualizer.lastVisibleIndex; | ||
} | ||
/** @protected */ | ||
@@ -175,20 +193,2 @@ ready() { | ||
/** | ||
* Gets the index of the first visible item in the viewport. | ||
* | ||
* @return {number} | ||
*/ | ||
get firstVisibleIndex() { | ||
return this.__virtualizer.firstVisibleIndex; | ||
} | ||
/** | ||
* Gets the index of the last visible item in the viewport. | ||
* | ||
* @return {number} | ||
*/ | ||
get lastVisibleIndex() { | ||
return this.__virtualizer.lastVisibleIndex; | ||
} | ||
/** | ||
* Requests an update for the content of the rows. | ||
@@ -195,0 +195,0 @@ * While performing the update, it invokes the renderer passed in the `renderer` property for each visible row. |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/virtual-list", | ||
"version": "24.0.0-alpha1", | ||
"version": "24.0.0-alpha10", | ||
"description-markup": "markdown", | ||
@@ -6,0 +6,0 @@ "contributions": { |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/virtual-list", | ||
"version": "24.0.0-alpha1", | ||
"version": "24.0.0-alpha10", | ||
"description-markup": "markdown", | ||
@@ -6,0 +6,0 @@ "framework": "lit", |
32701
+ Added@vaadin/component-base@24.0.0-alpha10(transitive)
+ Added@vaadin/icon@24.0.0-alpha10(transitive)
+ Added@vaadin/lit-renderer@24.0.0-alpha10(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.0.0-alpha10(transitive)
+ Added@vaadin/vaadin-material-styles@24.0.0-alpha10(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.0.0-alpha10(transitive)
- Removed@polymer/iron-flex-layout@3.0.1(transitive)
- Removed@polymer/iron-icon@3.0.1(transitive)
- Removed@polymer/iron-iconset-svg@3.0.1(transitive)
- Removed@polymer/iron-meta@3.0.1(transitive)
- Removed@vaadin/component-base@24.0.0-alpha1(transitive)
- Removed@vaadin/icon@24.0.0-alpha1(transitive)
- Removed@vaadin/lit-renderer@24.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-material-styles@24.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.0.0-alpha1(transitive)