Image: add referrerPolicy prop (#15452)

This commit is contained in:
jiaxin
2019-05-17 16:33:30 +08:00
committed by hetech
parent 613dd1a36d
commit 64ed7804b6
6 changed files with 10 additions and 1 deletions

View File

@@ -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 的父元素 |