cpr.controls.ScrollIntoViewAlignType

Index

Properties
Name Type Description
start String Scroll to be located at the top edge of the viewport.
center String Scroll to be located in the middle of the viewport.
end String Scroll to be located at the bottom edge of the viewport.
nearest String Scroll as the distance that the viewport can move closest to the distance.

Properties

start
type String
Scroll to be located at the top edge of the viewport.
center
type String
Scroll to be located in the middle of the viewport.
end
type String
Scroll to be located at the bottom edge of the viewport.
nearest
type String
Scroll as the distance that the viewport can move closest to the distance. It does not work if it is already displayed in the viewport.