@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="IntersectionObserverInit")
public interface IntersectionObserverInit
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IntersectionObserverInit.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IntersectionObserverInit.Builder |
create() |
ElementOrDocumentUnion |
root() |
java.lang.String |
rootMargin() |
default void |
setRoot(Document root) |
default void |
setRoot(Element root) |
void |
setRoot(ElementOrDocumentUnion root) |
void |
setRootMargin(java.lang.String rootMargin) |
default void |
setThreshold(double... threshold) |
default void |
setThreshold(double threshold) |
void |
setThreshold(DoubleOrDoubleArrayUnion threshold) |
default void |
setThreshold(JsArray<java.lang.Double> threshold) |
DoubleOrDoubleArrayUnion |
threshold() |
@JsOverlay @Nonnull static IntersectionObserverInit.Builder create()
@JsProperty(name="root") @Nullable ElementOrDocumentUnion root()
@JsProperty
void setRoot(@Nullable
ElementOrDocumentUnion root)
@JsOverlay
default void setRoot(@Nonnull
Element root)
@JsOverlay
default void setRoot(@Nonnull
Document root)
@JsProperty(name="rootMargin") java.lang.String rootMargin()
@JsProperty
void setRootMargin(@Nonnull
java.lang.String rootMargin)
@JsProperty(name="threshold") DoubleOrDoubleArrayUnion threshold()
@JsProperty
void setThreshold(@Nonnull
DoubleOrDoubleArrayUnion threshold)
@JsOverlay default void setThreshold(double threshold)
@JsOverlay
default void setThreshold(@Nonnull
JsArray<java.lang.Double> threshold)
@JsOverlay
default void setThreshold(@Nonnull
double... threshold)