Type Alias ScrollOffset

ScrollOffset: `${Offset}: ${string}`

This has the format of : where can be any valid CSS offset specification*.

must be one of top, bottom, left or right.

Using left/right reference only makes sense if the document scrolls horizontally, which is rare. In most cases you would want to use top/bottom as reference.