docs: add period at the end of sentence

This commit is contained in:
chenjiahan
2020-09-27 21:02:52 +08:00
parent 4f10430119
commit a5dbcf9638
64 changed files with 230 additions and 219 deletions
+1 -1
View File
@@ -34,7 +34,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({
+2 -2
View File
@@ -62,7 +62,7 @@ ImagePreview({
### 展示关闭按钮
设置`closeable`属性后,会在弹出层的右上角显示关闭图标,并且可以通过`close-icon`属性自定义图标,使用`close-icon-position`属性可以自定义图标位置。
设置 `closeable` 属性后,会在弹出层的右上角显示关闭图标,并且可以通过 `close-icon` 属性自定义图标,使用`close-icon-position` 属性可以自定义图标位置。
```js
ImagePreview({
@@ -94,7 +94,7 @@ ImagePreview({
### 异步关闭
通过`asyncClose`属性可以开启异步关闭,开启后异步关闭后,只能通过实例上的 close 方法关闭图片预览。
通过 `asyncClose` 属性可以开启异步关闭,开启后异步关闭后,只能通过实例上的 close 方法关闭图片预览。
```js
const instance = ImagePreview({