Function getOffsetToScrollRange
- getOffsetToScrollRange(offset, size, clientExtent, scrollOffset, option?): number | undefined
Parameters
- offset: undefined | number
- size: undefined | number
- clientExtent: number
- scrollOffset: number
Optional
option: ScrollToOption
Returns number | undefined
Returns the offset needed to scroll in one dimension for a specified range
Used internally to implement VirtualScrollProxy.scrollToArea. Can be used directly for advanced customization scenarios.