My Library Docs

Multi-root Sidebar

flex-layout

  • Getting Started

  • Guides

  • Reference

typed-rx-http

  • Getting Started

  • Guides

  • Reference

global-rx-state

  • Getting Started

  • Guides

  • Reference

webflux-fe-dev-assistant

reactive-mongo-dsl

Scroll Box

It saves and restores the scroll position inside the Split screen based on keyName.


Basic usage

FlexLayoutSplitScreenScrollBoxrestores scrollLeft/scrollTop to the saved position on mount, and throttles the scroll event to save to the store.

tsx
horizontal wheel scroll

direction="x"converts the wheel deltaY to horizontal scrollLeft when given.

props

keyName

스크롤 위치를 저장/복원할 key입니다.

direction

x 또는 y입니다. x는 wheel을 가로 스크롤로 처리합니다.

isDefaultScrollStyle

true면 라이브러리 기본 scroll style을 사용합니다. 기본값은 false입니다.

className

외부 스타일 클래스입니다. 기본 스타일과 함께 합쳐집니다.

© 2026 Byeolnaerim. All rights reserved.IntroductionPrivacy Policy