kilua-project
Toggle table of contents
0.0.19
common
Platform filter
common
Switch theme
Search in API
kilua-project
kilua-dom
/
web.dom.observers
/
IntersectionObserver
Intersection
Observer
class
IntersectionObserver
(
callback
:
IntersectionObserverCallback
,
options
:
IntersectionObserverInit
)
:
JsAny
(
source
)
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