pull/1692/head
Tuğçe Küçükoğlu 2021-10-22 14:08:53 +03:00
parent 843a7432a2
commit 3b392d6a24
1 changed files with 2 additions and 2 deletions
src/components/virtualscroller

View File

@ -15,7 +15,7 @@ interface VirtualScrollerProps {
class?: string;
}
interface Range {
interface VirtualScrollerRangeMethodInterface {
first: number;
last: number;
viewport: {
@ -29,7 +29,7 @@ declare class VirtualScroller {
scrollTo(options?: ScrollToOptions): void;
scrollToIndex(index: number, behavior: ScrollBehavior): void;
scrollInView(index: number, to: "to-start" | "to-end", behavior: ScrollBehavior): void;
getRenderedRange(): Range;
getRenderedRange(): VirtualScrollerRangeMethodInterface;
$emit(eventName: 'update:numToleratedItems', value: number): this;
$emit(eventName: 'scroll-index-change', value: { first: number, last: number }): this;
$emit(eventName: 'lazy-load', value: { first: number, last: number }): this;