React

Pull To Refresh

사용자가 화면을 아래로 당겨 콘텐츠를 새로고침할 수 있게 해주는 컴포넌트입니다. 모바일 환경에서 최신 콘텐츠를 불러올 때 사용됩니다.

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

disabled 속성을 사용하여 PTR를 비활성화할 수 있습니다.

Prevent Pull

PullToRefresh.preventPull 속성을 사용하여 특정 영역에서 PTR 동작을 방지할 수 있습니다. user-select: auto;등을 통해 텍스트 선택이 가능한 영역에서 주로 사용됩니다.

Loading...

Last updated on

On this page