Functions§
- build_
mut_ 🔒records_ for - drain_
mut_ 🔒records - fire_
intersection_ observers - IntersectionObserver コールバックを全要素 isIntersecting=true で発火(将来用の外部フック)。
- flush_
mutation_ observers - DOM 変更後に MutationObserver のコールバックを発火する。
eval末尾とdispatch_event後に呼ぶ。 - intersection_
observer_ 🔒ctor new IntersectionObserver(cb, options)の第2引数options(root/rootMargin/threshold)が丸ごと無視されており、対応する.root/.rootMargin/.thresholds読み取り専用プロパティも存在しな かった(丸ごと未対応だった。2026-07-17 発見)。実際の交差判定は 「observe時点で常に完全交差」という既存の簡略実装のままだが(root/thresholdに応じた複数回発火は対象外)、構築時に渡された値を正しく 読み取り専用プロパティとして反映するだけでも、既存コードのif (observer.rootMargin !== '10px') {...}等のフィーチャー検出 イディオムには対応できる。- io_
disconnect 🔒 - io_
observe 🔒 - io_
take_ 🔒records - io_
unobserve 🔒 - make_
io_ 🔒entry IntersectionObserverEntryを構築する。isIntersecting/intersectionRatioは常に「完全に交差している」固定値の簡略実装 だったが、boundingClientRect/intersectionRect/rootBounds/timeが丸ごと未対応だった。boundingClientRect/intersectionRectは 既存のdom_get_bounding_client_rectと同じ実座標を再利用し(常に 完全交差扱いのため両者は同じ矩形になる)、rootBoundsは監視対象の ルート(document全体扱い)を表現する実座標が無いためnull、timeはperformance.now()と同じ単調増加タイムスタンプを使う。- make_
mut_ 🔒record - make_
resolved_ promise - 即時 fulfilled な Promise オブジェクトを返す(animate().finished など用)。
- mo_
disconnect 🔒 - mo_
observe 🔒 - mo_
take_ 🔒records - mutation_
observer_ 🔒ctor - resize_
observer_ 🔒ctor - ro_
disconnect 🔒 - ro_
observe 🔒 - ro_
unobserve 🔒