Type Alias ScrollOffsetSpec

ScrollOffsetSpec: `${Anchor}: ${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.

v1.2.1 Previously called ScrollOffset