Skip to main content

player.scrollMode

since 0.9.6

Description​

This setting controls how alphaTab behaves for scrolling. It supports 3 modes:

player.scrollModeJavaScript
player.scrollModeJSON
data-player-scrollmodeHTML
Player.ScrollMode.net

Types​

TypeValues
alphaTab.ScrollModeJavaScript

Off - No automatic scrolling is done


Continuous - Scrolling happens as soon the offsets of the cursors change


OffScreen - Scrolling happens as soon the cursors exceed the displayed range

stringJSON, JavaScript & HTML

off


continuous


offscreen

intJSON, JavaScript & HTML

0 - Off


1 - Continuous


2 - OffScreen

AlphaTab.ScrollMode.net

Off


Continuous


OffScreen

Default Value​

Continuous