Coder Social home page Coder Social logo

Comments (7)

axuebin avatar axuebin commented on May 26, 2024

@leixus 😁

from articles.

leixus avatar leixus commented on May 26, 2024

被你发现了###

  • 11111111115

from articles.

leixus avatar leixus commented on May 26, 2024

有完整得代码吗?
@axuebin 发一份

from articles.

phonet avatar phonet commented on May 26, 2024

@axuebin 大佬,用了介绍的第三种方式实现了图片的懒加载,但是发现当页面滚动过快的时候,el.src = source这个赋值有很多元素时候没有执行,导致了img虽然在可视区域了,但是src属性还是不存在,这个怎么破呢?

from articles.

heightzhang avatar heightzhang commented on May 26, 2024

@phonet 试试用下函数节流,不要让滚动快速执行事件,

from articles.

haoyi2015 avatar haoyi2015 commented on May 26, 2024

demo打不开也,楼主

from articles.

axuebin avatar axuebin commented on May 26, 2024

@haoyi2015 谢谢提醒,可以了

from articles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.