From f70beac79f03f70e2ed2c85c8024729c12542aef Mon Sep 17 00:00:00 2001 From: infeng Date: Wed, 28 Dec 2016 22:30:05 +0800 Subject: [PATCH] update README for 2.2 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 7df29a0..f4913a1 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,11 @@ class App extends React.Component { | 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