IntersectionObserver 构造函数
- IntersectionObserverCallback callback,
- [
实现
factory IntersectionObserver(IntersectionObserverCallback callback,
[Map? options]) {
if (options != null) {
var callback_1 = convertDartClosureToJS(callback, 2);
var options_2 = convertDartToNative_Dictionary(options);
return IntersectionObserver._create_1(callback_1, options_2);
}
var callback_1 = convertDartClosureToJS(callback, 2);
return IntersectionObserver._create_2(callback_1);
}