React

Pull To Refresh

A component that allows users to refresh content by pulling the screen down. Used in mobile environments to load the latest content.

Available since@seed-design/react@0.0.1, @seed-design/css@0.0.1
Loading...

Installation

npx @seed-design/cli@latest add ui:pull-to-refresh

Props

PullToRefreshRoot

Prop

Type

PullToRefreshIndicator

Prop

Type

PullToRefreshContent

Prop

Type

Examples

PTR in Tabs

Loading...

Disabled

You can disable PTR using the disabled attribute.

Prevent Pull

You can prevent PTR behavior in specific areas using the PullToRefresh.preventPull attribute. It is mainly used in areas where text selection is possible through user-select: auto; and similar.

Loading...

Table of contents