接口参考

intersection_observer.h · C++ API

按同一接口文件归组浏览,展开条目查看声明、使用说明和版本边界。

阅读相关开发指南 →

这里保留接口声明及来源。逐项运行验证范围以条目记录为准;源文件中的内部实现候选不代表免费 SDK 的交付承诺。

include/kui/dom/intersection_observer.h
IntersectionObserver::~IntersectionObserver
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
~IntersectionObserver();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:53

反馈此接口问题 →
IntersectionObserver::checkForIntersections
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
u32 checkForIntersections(f32 viewportWidth, f32 viewportHeight);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:67

反馈此接口问题 →
IntersectionObserver::create
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
static RefPtr<IntersectionObserver> create(Callback callback, const IntersectionObserverInit& init = {});

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:55

反馈此接口问题 →
IntersectionObserver::deliverEntries
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
void deliverEntries();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:74

反馈此接口问题 →
IntersectionObserver::disconnect
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
void disconnect();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:64

反馈此接口问题 →
IntersectionObserver::hasObservations
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
bool hasObservations() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:77

反馈此接口问题 →
IntersectionObserver::observe
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
void observe(Element* target);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:58

反馈此接口问题 →
IntersectionObserver::options
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
const IntersectionObserverInit& options() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:79

反馈此接口问题 →
IntersectionObserver::unobserve
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
void unobserve(Element* target);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:61

反馈此接口问题 →
IntersectionObserver::void
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
using Callback = std::function<void(const std::vector<IntersectionObserverEntry>&, IntersectionObserver*)>;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:50

反馈此接口问题 →
IntersectionObserverRegistry::checkForIntersections
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
u32 checkForIntersections(f32 viewportWidth, f32 viewportHeight);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:106

反馈此接口问题 →
IntersectionObserverRegistry::hasObservers
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
bool hasObservers() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:109

反馈此接口问题 →
IntersectionObserverRegistry::registerObserver
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
void registerObserver(IntersectionObserver* observer);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:103

反馈此接口问题 →
IntersectionObserverRegistry::unregisterObserver
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

intersection_observer.h
void unregisterObserver(IntersectionObserver* observer);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/intersection_observer.h:104

反馈此接口问题 →
浏览同类接口 →