Package-level declarations

Types

Link copied to clipboard
external interface ItemRange
Link copied to clipboard
typealias Key = String
Link copied to clipboard
typealias ObserveOffsetCallBack = (offset: Int, isScrolling: Boolean) -> Unit
Link copied to clipboard
external interface Range
Link copied to clipboard
external interface Rect
Link copied to clipboard
sealed external interface ScrollAlignment
Link copied to clipboard
sealed external interface ScrollDirection
Link copied to clipboard
external interface ScrollOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external interface ScrollToOptions
Link copied to clipboard
external interface VirtualItem
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
external val defaultKeyExtractor: (index: Int) -> Int
Link copied to clipboard
external val defaultRangeExtractor: (range: Range) -> ReadonlyArray<Int>
Link copied to clipboard
external val elementScroll: (offset: Int, options: ScrollOptions, instance: Virtualizer<*, *>) -> Unit
Link copied to clipboard
external val measureElement: (element: Element, entry: ResizeObserverEntry?, instance: Virtualizer<*, Element>) -> Int
Link copied to clipboard
external val observeElementOffset: (instance: Virtualizer<*, *>, ObserveOffsetCallBack) -> () -> Unit?
Link copied to clipboard
external val observeElementRect: (instance: Virtualizer<*, *>, cb: (rect: Rect) -> Unit) -> () -> Unit?
Link copied to clipboard
external val observeWindowOffset: (instance: Virtualizer<Window, *>, ObserveOffsetCallBack) -> () -> Unit?
Link copied to clipboard
external val observeWindowRect: (instance: Virtualizer<Window, *>, cb: (rect: Rect) -> Unit) -> () -> Unit?
Link copied to clipboard
external val windowScroll: (offset: Int, options: ScrollOptions, instance: Virtualizer<*, *>) -> Unit