Skip to main content
cngx-src documentation

withSpinnerVsSkeletonCutoff

Functioncore/utils

projects/core/utils/loading-config.ts

Description#

Override the spinner-vs-skeleton cutoff (ms) an app-shell indicator reads to pick a skeleton for waits longer than this and a spinner for shorter ones.

Signature#

withSpinnerVsSkeletonCutoff(ms: number)

Parameters#

@parammsnumber

Returns#

CngxLoadingConfigFeature