Merge branch 'dev' into next
This commit is contained in:
@@ -35,7 +35,7 @@ ImagePreview({
|
||||
|
||||
### Show Close Icon
|
||||
|
||||
After setting the `closeable` attribute, the close icon will be displayed in the upper right corner of the pop-up layer, and the icon can be customized through the `close-icon` attribute, and the icon location can be customized by using the `close-icon-position` attribute
|
||||
After setting the `closeable` attribute, the close icon will be displayed in the upper right corner of the pop-up layer, and the icon can be customized through the `close-icon` attribute, and the icon location can be customized by using the `close-icon-position` attribute.
|
||||
|
||||
```js
|
||||
ImagePreview({
|
||||
|
||||
@@ -63,7 +63,7 @@ ImagePreview({
|
||||
|
||||
### 展示关闭按钮
|
||||
|
||||
设置`closeable`属性后,会在弹出层的右上角显示关闭图标,并且可以通过`close-icon`属性自定义图标,使用`close-icon-position`属性可以自定义图标位置。
|
||||
设置 `closeable` 属性后,会在弹出层的右上角显示关闭图标,并且可以通过 `close-icon` 属性自定义图标,使用`close-icon-position` 属性可以自定义图标位置。
|
||||
|
||||
```js
|
||||
ImagePreview({
|
||||
|
||||
Reference in New Issue
Block a user