ScrollToOptions

E1016613

ScrollToOptions is a web API dictionary object used to configure scrolling behavior—such as position and smoothness—for methods like window.scrollTo and Element.scrollTo.

All labels observed (1)

Label Occurrences
ScrollToOptions canonical 1

How this entity was disambiguated

Statements (40)

Predicate Object
instanceOf JavaScript object type ⓘ
Web API dictionary ⓘ
availableIn Element interface ⓘ
Window interface ⓘ
behaviorAllowedValue auto ⓘ
smooth ⓘ
behaviorDefaultValue auto ⓘ
behaviorDescription Specifies whether scrolling is instant or animated ⓘ
canBeOmitted yes ⓘ
canExpressRelativeScroll no (absolute only; relative uses ScrollToOptions with scrollBy methods) ⓘ
compatibleWith modern browsers supporting smooth scrolling ⓘ
definedBy WHATWG ⓘ
definedInSpecification CSSOM View Module ⓘ
hasProperty behavior ⓘ
left ⓘ
top ⓘ
introducedFor smooth scrolling support ⓘ
isOptionalArgumentFor Element.scrollTo() ⓘ
window.scrollTo() ⓘ
language JavaScript ⓘ
leftCoordinateSpace CSS pixels ⓘ
leftDescription Specifies the number of pixels to scroll horizontally ⓘ
propertyType behavior:ScrollBehavior ⓘ
left:number ⓘ
top:number ⓘ
relatedType ScrollToOptions dictionary in TypeScript lib.dom.d.ts ⓘ
scrollOrigin top-left corner of the scrollable area ⓘ
standardStatus Living Standard ⓘ
supportsPartialSpecification yes ⓘ
topCoordinateSpace CSS pixels ⓘ
topDescription Specifies the number of pixels to scroll vertically ⓘ
usedFor configuring scroll animation behavior ⓘ
configuring scroll position ⓘ
usedWithMethod Element.scroll() ⓘ
Element.scrollBy() ⓘ
Element.scrollTo() ⓘ
window.scroll() ⓘ
window.scrollBy() ⓘ
window.scrollTo() ⓘ
webPlatform DOM ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

CSSOM View Module → definesInterface → ScrollToOptions ⓘ