From abca68456cafc1d0f5e783f0b57ed54acaa96dc7 Mon Sep 17 00:00:00 2001 From: Drlong Date: Tue, 25 Aug 2020 15:55:38 +0800 Subject: [PATCH] Update README.md 'callback when iamge change' to 'callback when image change' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 250fd66..6862c0d 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ I'm sorry, ssr is not currently supported in `3.x`, it will be fixed in `4.0`. | noResetZoomAfterChange | boolean | false | preserve zoom after image change | false | | noLimitInitializationSize | boolean | false | no limit image initialization size | false | | defaultScale | number | 1 | set default scale | false | -| onChange | (activeImage: [ImageDecorator](#imagedecorator), index: number) => void | - | callback when iamge change | false | +| onChange | (activeImage: [ImageDecorator](#imagedecorator), index: number) => void | - | callback when image change | false | | loop | boolean | true | whether enable image loop | false | | disableMouseZoom | boolean | false | whether disable mouse zoom | false | | downloadInNewWindow | boolean | false | whether to download in a new window | false |