ApoorvSaxena / ApoorvSaxena/lozad.js

How to add a class/selector to <img> when using <picture>

未关闭
#244 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
7.5k
派生
435
PR 合并指标
30 天内没有已合并 PR

描述

Not an issue but I'm struggling to find how to do this. In using the picture/source/img responsive setup I need to add a class directly to the element (for a different GSAP array).

I've searched the issues here and haven't found success, can anyone help?

TIA

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。