docs: update version tag

This commit is contained in:
陈嘉涵
2020-01-10 21:06:05 +08:00
parent 6555af4f76
commit e16239e426
124 changed files with 1974 additions and 1974 deletions
+30 -30
View File
@@ -88,39 +88,39 @@ export default {
### Options
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| images | Images URL list | *string[]* | `[]` | - |
| startPosition | Start position | *number* | `0` | - |
| showIndex | Whether to show index | *boolean* | `true` | - |
| showIndicators | Whether to show indicators | *boolean* | `false` | - |
| loop | Whether to enable loop | *boolean* | `true` | - |
| swipeDuration | Animation duration (ms) | *number* | `500` | - |
| onClose | Triggered when close | *Function* | - | - |
| onChange | Triggered when current image change | *Function* | - | 2.0.3 |
| closeOnPopstate | Whether to close when popstate | *boolean* | `false` | - |
| asyncClose | Whether to enable async close | *boolean* | `false` | - |
| className | Custom className | *any* | - | - |
| lazyLoad | Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` | - |
| maxZoom | Max zoom | *number* | `3` | - |
| minZoom | Min zoom | *number* | `1/3` | - |
| Attribute | Description | Type | Default |
|------|------|------|------|
| images | Images URL list | *string[]* | `[]` |
| startPosition | Start position | *number* | `0` |
| showIndex | Whether to show index | *boolean* | `true` |
| showIndicators | Whether to show indicators | *boolean* | `false` |
| loop | Whether to enable loop | *boolean* | `true` |
| swipeDuration | Animation duration (ms) | *number* | `500` |
| onClose | Triggered when close | *Function* | - |
| onChange `v2.0.3` | Triggered when current image change | *Function* | - |
| closeOnPopstate | Whether to close when popstate | *boolean* | `false` |
| asyncClose | Whether to enable async close | *boolean* | `false` |
| className | Custom className | *any* | - |
| lazyLoad | Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` |
| maxZoom | Max zoom | *number* | `3` |
| minZoom | Min zoom | *number* | `1/3` |
### Props
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| images | Images URL list | *string[]* | `[]` | - |
| start-position | Start position | *number* | `0` | - |
| show-index | Whether to show index | *boolean* | `true` | - |
| show-indicators | Whether to show indicators | *boolean* | `false` | - |
| loop | Whether to enable loop | *boolean* | `true` | - |
| swipe-duration | Animation duration (ms) | *number* | `500` | - |
| async-close | Whether to enable async close | *boolean* | `false` | - |
| close-on-popstate | Whether to close when popstate | *boolean* | `false` | - |
| class-name | Custom className | *any* | - | - |
| lazy-load | Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` | - |
| max-zoom | Max zoom | *number* | `3` | - |
| min-zoom | Min zoom | *number* | `1/3` | - |
| Attribute | Description | Type | Default |
|------|------|------|------|
| images | Images URL list | *string[]* | `[]` |
| start-position | Start position | *number* | `0` |
| show-index | Whether to show index | *boolean* | `true` |
| show-indicators | Whether to show indicators | *boolean* | `false` |
| loop | Whether to enable loop | *boolean* | `true` |
| swipe-duration | Animation duration (ms) | *number* | `500` |
| async-close | Whether to enable async close | *boolean* | `false` |
| close-on-popstate | Whether to close when popstate | *boolean* | `false` |
| class-name | Custom className | *any* | - |
| lazy-load | Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` |
| max-zoom | Max zoom | *number* | `3` |
| min-zoom | Min zoom | *number* | `1/3` |
### Events