mirror of
https://github.com/infeng/react-viewer.git
synced 2025-12-08 17:36:40 +00:00
update README for 2.2
This commit is contained in:
parent
d89379012f
commit
f70beac79f
@ -54,6 +54,11 @@ class App extends React.Component<any, any> {
|
||||
| activeIndex | number | 0 | active image index | false |
|
||||
| zIndex | number | 1000 | Viewer css z-index | false |
|
||||
| container | HTMLElement | null | set parent node(inline mode) | false |
|
||||
| drag | boolean | true | whether to drag image | false |
|
||||
| attribute | boolean | true | whether to show image attribute | false |
|
||||
| zoomable | boolean | true | whether to show 'zoom' buttom | false |
|
||||
| rotatable | boolean | true | whether to show 'rotate' button | false |
|
||||
| scalable | boolean | true | whether to show 'scale' button | false |
|
||||
|
||||
## Keyboard support
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user