scrollIntoView

Scroll so the given node becomes visible.

@safe
scrollIntoView
(,
bool alignToTop = false
)

Parameters

node Node

Node to scroll to.

alignToTop bool

If true, the top of the element will be aligned to the top of the scrollable area.

Meta