Pull refresh

Pull-to-refresh container that triggers when pulled down from the top

Contents

Spinner Type

Spinner type pull-refresh means that a spinner will appear at the top and will be pulled down by the user.

Content

Content

Content

Content

Content

Content

Content

Content

Inputs in Spinner type
type : PullRefreshType
Also set in this example
scrollBasis ?: PullRefreshScrollBasis = SCROLL_BASIS_WINDOW

Specify which scrollbar container to use. A value of `'window'` means that the default global window scrollbar is used. A value of `'host'` means the pull-refresh component will become the scrollable scrollable container. The `max-height` of the component should be set externally through CSS.

Outputs
refresh ?: any = new EventEmitter<void>()

Emits whenever the gesture has reached the `flPullRefreshTriggerDistance` then the user stops/releases. Use this output if you want to manually detect a refresh instead of using `refreshCollectionNames` to refresh collections.