v-img icon indicating copy to clipboard operation
v-img copied to clipboard

📸Use webp and lazyload images

Results 5 v-img issues
Sort by recently updated
recently updated
newest added

开发者您好,感谢开源。能否支持又拍云

**Is your feature request related to a problem? Please describe.** one request to get two js files **Describe the solution you'd like** https://www.jsdelivr.com/features ![image](https://user-images.githubusercontent.com/9384365/103512441-a8967300-4ea3-11eb-9fe2-a03f584cf451.png)

**Is your feature request related to a problem? Please describe.** when you cannot both set width or height, you would need this CSS ability: object-fit, otherwise img would be distort...

## Why 因为 `lazyload` 样式是固定写死的,导致 lazysizes 修改 classList、加载图片触发 load 事件后,vue 先执行回调(由文档可知lazysizes 默认有 125ms deplay),则 vue 发现 `lazyload` 不见了,于是重新渲染,把 `lazyload` class 添加回元素,这导致 lazysizes 再次发送图片请求。 ## How 1. `lazyload` 样式放入 `computed` 2....

bug

https://github.com/FEMessage/v-img/blob/be8f25e9c62bf63986ccfebdae23aed6d8a0ae8a/src/index.js#L9 Advantages: 1. svg is smaller 2. svg is vector image format, it's better for compatibility 3. you can remove useless todo 😄 [学习了,CSS中内联SVG图片有比Base64更好的形式 « 张鑫旭-鑫空间-鑫生活](https://www.zhangxinxu.com/wordpress/2018/08/css-svg-background-image-base64-encode/) [(1) [译]Base64 编码&性能 -...