美文网首页
Intersection observer will not t

Intersection observer will not t

作者: 摸不到的颜色 | 来源:发表于2019-02-26 18:27 被阅读0次

1、需要在ready等渲染完成之后调用,不能使用attatch

2、在组件中使用应该注意:

创建并返回一个 IntersectionObserver 对象实例。在自定义组件或包含自定义组件的页面中,应使用 this.createIntersectionObserver([options]) 来代替。

相关文章

网友评论

      本文标题:Intersection observer will not t

      本文链接:https://www.haomeiwen.com/subject/vxjzyqtx.html