StringTune/Docs

Concepts

Scroll Modes

How desktop and mobile scroll modes are selected and how custom scroll controllers fit in.

Scroll Modes

Built-in modes

  • smooth
  • default
  • disable

Defaults

Current runtime defaults are:

  • desktop: smooth
  • mobile: smooth

Responsive switching

The built-in responsive mode decision is width-based. It is not documented as a generic touch-device detector.

Custom modes

Use registerScrollMode() with a ScrollController implementation when you need to integrate a custom scroll engine.

Public guidance

Document the supported mode names, how to switch them, and what scroll controller path is public. Do not document internal scroll manager details as consumer API.