search

Home  >  Q&A  >  body text

angular.js - ng-bind-html How to lazily load images

The dynamically generated content contains pictures and text, which needs to be parsed by ng-bind-html. How can the pictures be lazy loaded?

ringa_leeringa_lee2787 days ago712

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-15 16:59:59

    ng-src Not sure if it can meet your needs?

    reply
    0
  • 黄舟

    黄舟2017-05-15 16:59:59

    Not actually used
    Reference
    https://github.com/afklm/ng-lazy-image

    reply
    0
  • Cancelreply