A container component that streamlines the implementation of pull-to-refresh functionality.
Used to detect pull-down gestures to initiate content updates. The pull-down gesture is only detected if the scrollbar is at the top most position.
Contents
Is used to determine the scrollable element that the pull-refresh component will be attached to.
This is the default scroll basis. Window scroll basis means that the pull-refresh component will be attached to the global window scrollbar.
Content
Content
Content
Content
Content
Content
Content
Content
Host scroll basis means that the pull-refresh component will be attached to the host element. Simply means the pull-refresh component will become the scrollable container. The max-height of the component should be externally be set through CSS.
Content
Content
Content
Content
Content
Content
Content
Content
Refetches data from the datastore for the specified collection names.
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.
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.