Reference home > @af-utils/virtual-core > VirtualScrollerInitialParams > horizontal

VirtualScrollerInitialParams.horizontal property

Scroll container orientation.

Signature:

horizontal?: boolean;

Remarks

Determines properties used for dimension/scroll calculations, for example:

  • scrollTop / scrollLeft;

  • height / width;

  • innerHeight / innerWidth.