StringTune/Docs

API Reference

Settings Reference

Global runtime settings, default values, and what each setting actually affects.

Settings Reference

Global settings are configured through stringTune.setupSettings(...).

Notable defaults

  • cursor-lerp: default runtime value is 0.75
  • timeout: default runtime value is 900
  • scrollDesktopMode: default runtime value is smooth
  • scrollMobileMode: default runtime value is smooth

Important notes

  • StringLoading reads loading timeout from runtime settings, not from a string-timeout DOM attribute.
  • mobile scroll mode switching is width-based in the runtime, not a generic touch-device detector.
  • settings are global; they are not a substitute for per-module declarative attributes.