virtua 0.50.6 → 0.51.0

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.
@@ -95,7 +95,7 @@ export interface VirtualizerHandle {
95
95
  */
96
96
  readonly cache: CacheSnapshot;
97
97
  /**
98
- * Get current scrollTop, or scrollLeft if horizontal: true.
98
+ * Get current scrollTop, or scrollLeft if horizontal: true. Always positive even in RTL.
99
99
  */
100
100
  readonly scrollOffset: number;
101
101
  /**
@@ -103,7 +103,7 @@ export interface VirtualizerHandle {
103
103
  */
104
104
  readonly scrollSize: number;
105
105
  /**
106
- * Get current offsetHeight, or offsetWidth if horizontal: true.
106
+ * Get current clientHeight, or clientWidth if horizontal: true.
107
107
  */
108
108
  readonly viewportSize: number;
109
109
  /**
@@ -75,11 +75,11 @@ export interface WindowVirtualizerHandle {
75
75
  */
76
76
  readonly cache: CacheSnapshot;
77
77
  /**
78
- * Get current scrollTop, or scrollLeft if horizontal: true.
78
+ * Get current scrollTop, or scrollLeft if horizontal: true. Always positive even in RTL.
79
79
  */
80
80
  readonly scrollOffset: number;
81
81
  /**
82
- * Get current offsetHeight, or offsetWidth if horizontal: true.
82
+ * Get current clientHeight of the document, or clientWidth if horizontal: true.
83
83
  */
84
84
  readonly viewportSize: number;
85
85
  /**