Skip to content

交叉观察者 IntersectionObserver 实现懒加载、吸顶、触底 #59

Description

@yangmaoHu

原文

IntersectionObserver 翻译为 "交叉观察者"
监听目标元素跟指定父元素(用户可指定,默认为viewport)是否在发生交叉行为
简单理解就是监听目标元素是否进入或者离开了指定父元素的内部

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions