mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Image: add referrerPolicy prop (#15452)
This commit is contained in:
@@ -114,6 +114,7 @@
|
||||
| src | 图片源,同原生 | string | — | - |
|
||||
| fit | 确定图片如何适应容器框,同原生 [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) | string | fill / contain / cover / none / scale-down | - |
|
||||
| alt | 原生 alt | string | - | - |
|
||||
| referrer-policy | 原生 referrerPolicy | string | - | - |
|
||||
| lazy | 是否开启懒加载 | boolean | — | false |
|
||||
| scroll-container | 开启懒加载后,监听 scroll 事件的容器 | string / HTMLElement | — | 最近一个 overflow 值为 auto 或 scroll 的父元素 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user