PanOnScrollMode

Source on GitHub

The PanOnScrollMode enum controls the panning behavior of the viewport when the user scrolls. Choose Free for unrestricted panning, Vertical for up-and-down only, or Horizontal for left-and-right only.

enum PanOnScrollMode {
  Free = 'free',
  Vertical = 'vertical',
  Horizontal = 'horizontal',
}