Skip to main content

DynamicInfiniteScroll.use-scroll-restoration.utils

Components

getMinHeight()

getMinHeight(__namedParameters): string

Parameters

ParameterType
__namedParametersIGetMinHeight

Returns

string

Source

libs/design-system-components/src/components/DynamicInfiniteScroll/use-scroll-restoration/utils.ts:212


removeItemFromScrollConfig()

removeItemFromScrollConfig(key): void

Parameters

ParameterType
keystring

Returns

void

Source

libs/design-system-components/src/components/DynamicInfiniteScroll/use-scroll-restoration/utils.ts:145


restoreScrollConfig()

restoreScrollConfig(scrollRestorationStorageKey?): Config

Parameters

ParameterType
scrollRestorationStorageKey?string

Returns

Config

Source

libs/design-system-components/src/components/DynamicInfiniteScroll/use-scroll-restoration/utils.ts:119


restoreScrollPosition()

restoreScrollPosition(__namedParameters): Promise<void>

Parameters

ParameterType
__namedParametersIRestoreScrollPosition

Returns

Promise<void>

Source

libs/design-system-components/src/components/DynamicInfiniteScroll/use-scroll-restoration/utils.ts:47


storeScrollConfig()

storeScrollConfig(scrollRestorationStorageKey, config): void

Parameters

ParameterType
scrollRestorationStorageKeystring
configConfig

Returns

void

Source

libs/design-system-components/src/components/DynamicInfiniteScroll/use-scroll-restoration/utils.ts:131