@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface ScrollToOptions
extends ScrollOptions
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ScrollToOptions.Builder
The ScrollToOptions dictionary of the CSSOM View spec contains properties specifying where an element should be scrolled to, and whether the scrolling should be smooth.
|
| Modifier and Type | Method and Description |
|---|---|
static ScrollToOptions.Builder |
create() |
double |
left()
A double.
|
void |
setLeft(double left)
A double.
|
void |
setTop(double top)
A double.
|
double |
top()
A double.
|
behavior, setBehavior@JsOverlay @Nonnull static ScrollToOptions.Builder create()
create in interface ScrollOptions@JsProperty(name="left") double left()
@JsProperty void setLeft(double left)
@JsProperty(name="top") double top()
@JsProperty void setTop(double top)