@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() |
@JsNullable ElementOrDocumentUnion |
root() |
java.lang.String |
rootMargin() |
default void |
setRoot(Document root) |
default void |
setRoot(Element root) |
void |
setRoot(@JsNullable ElementOrDocumentUnion root) |
void |
setRootMargin(@JsNonNull java.lang.String rootMargin) |
default void |
setThreshold(double... threshold) |
default void |
setThreshold(double threshold) |
void |
setThreshold(@JsNonNull DoubleOrDoubleArrayUnion threshold) |
default void |
setThreshold(JsArray<java.lang.Double> threshold) |
DoubleOrDoubleArrayUnion |
threshold() |
@JsOverlay @Nonnull static IntersectionObserverInit.Builder create()
@JsProperty(name="root") @JsNullable ElementOrDocumentUnion root()
@JsProperty void setRoot(@JsNullable 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(@JsNonNull java.lang.String rootMargin)
@JsProperty(name="threshold") DoubleOrDoubleArrayUnion threshold()
@JsProperty void setThreshold(@JsNonNull 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)