toggle menu
kilua-project
0.0.15
common
switch theme
search in API
kilua-dom
/
web.dom.observers
/
IntersectionObserver
Intersection
Observer
class
IntersectionObserver
(
callback
:
IntersectionObserverCallback
,
options
:
IntersectionObserverInit
)
:
JsAny
Members
Constructors
Intersection
Observer
Link copied to clipboard
constructor
(
callback
:
IntersectionObserverCallback
,
options
:
IntersectionObserverInit
)
Properties
root
Link copied to clipboard
val
root
:
ParentNode
?
MDN Reference
root
Margin
Link copied to clipboard
val
rootMargin
:
String
MDN Reference
thresholds
Link copied to clipboard
val
thresholds
:
JsArray
<
JsNumber
>
MDN Reference
Functions
disconnect
Link copied to clipboard
fun
disconnect
(
)
MDN Reference
observe
Link copied to clipboard
fun
observe
(
target
:
Element
)
MDN Reference
take
Records
Link copied to clipboard
fun
takeRecords
(
)
:
JsArray
<
IntersectionObserverEntry
>
MDN Reference
unobserve
Link copied to clipboard
fun
unobserve
(
target
:
Element
)
MDN Reference