API reference
Preparing search index…

ScrollIntoViewOptions

Options for native Rml::Element::ScrollIntoView.

interface ScrollIntoViewOptions {
    behavior?: ScrollBehavior;
    horizontal?: ScrollAlignment;
    parentage?: ScrollParentage;
    vertical?: ScrollAlignment;
}
Source & inheritance
Member directory4

Properties

Properties

behavior?: ScrollBehavior

Scroll behavior; defaults to Instant.

ScrollBehavior.Instant
Source & inheritance
horizontal?: ScrollAlignment

Horizontal alignment; defaults to Nearest.

ScrollAlignment.Nearest
Source & inheritance
parentage?: ScrollParentage

Ancestor selection; defaults to All.

ScrollParentage.All
Source & inheritance
vertical?: ScrollAlignment

Vertical alignment; defaults to Start.

ScrollAlignment.Start
Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0