461 Commits

Author SHA1 Message Date
Adam Cardenas
8fcb2bea4a
feat: support to add FullscreenOptions
resolve #482

Co-authored-by: Chen Fengyuan <chenfengyuan@outlook.com>
2021-06-12 15:32:37 +08:00
Chen Fengyuan
cdd94b42e0 feat: toggle image between current/natural ratio
ref #477
2021-06-12 15:15:24 +08:00
Chen Fengyuan
84f87cc041 build: release 1.9.2 v1.9.2 2021-05-29 11:54:01 +08:00
Chen Fengyuan
4b360e8846 fix: avoid conflicts with other modals
fix #474
2021-05-29 11:39:22 +08:00
chenlang0311
f7c2ab134e
fix:to fixed ToolbarOption is undenfined (#473) 2021-05-29 11:37:33 +08:00
Chen Fengyuan
394c3f1b67 build: release 1.9.1 v1.9.1 2021-05-22 15:25:34 +08:00
Chen Fengyuan
2dc2a96d7b build: update dependencies 2021-05-22 15:07:10 +08:00
Chen Fengyuan
b4107b4f14 docs: fix typos 2021-05-22 14:47:09 +08:00
mirari
69d7288395
fix(types): add declaration focus in Options (#470) 2021-05-22 13:55:47 +08:00
Chen Fengyuan
81ad8f6f0c docs: add note for the container of the images
Closes #443
2021-01-31 12:20:52 +08:00
Chen Fengyuan
ffa39d97b2 build: rename script 2021-01-31 12:05:04 +08:00
Chen Fengyuan
d8c147670d refactor: improve the type definations 2021-01-16 13:09:21 +08:00
Sahin D
72fa0d5c8d
refactor: update index.d.ts (#441) 2021-01-16 13:04:16 +08:00
Chen Fengyuan
b8a0fd4e69 docs: move the image into view if it is invisible after zoomed out
Fix #429
2020-12-08 20:15:21 +08:00
Chen Fengyuan
9ee9124110 docs: add missing content 2020-12-06 19:52:00 +08:00
Chen Fengyuan
858e28aff1 build: release 1.9.0 v1.9.0 2020-12-06 19:27:44 +08:00
Chen Fengyuan
21f72c323a ci: use the latest LTS Node.js version 2020-12-06 19:24:46 +08:00
Chen Fengyuan
c80a052e98 fix: fire the moved event immediately if it is not transitioning 2020-12-06 19:20:12 +08:00
Chen Fengyuan
f00a920738 docs: add moving range limit example 2020-12-06 18:48:12 +08:00
Chen Fengyuan
964bae610e refactor: improve the move methods 2020-12-06 17:02:33 +08:00
Chen Fengyuan
3dc408312c style: sort contants of event s 2020-12-06 16:45:12 +08:00
Chen Fengyuan
fe71d55b37 fix: add missing null type to the originalEvent property 2020-12-06 16:44:31 +08:00
Chen Fengyuan
8051925352 feat: add new scale and scaled events 2020-12-06 16:37:11 +08:00
Chen Fengyuan
5804043eed feat: add new rotate and rotated events 2020-12-06 16:17:40 +08:00
Chen Fengyuan
a94ac24bf6 feat: add new move and moved events 2020-12-06 16:16:14 +08:00
Chen Fengyuan
0cecec2a3d build: update dependencies 2020-11-28 17:25:09 +08:00
Chen Fengyuan
cc9735a58a docs: add size badge 2020-11-28 17:14:39 +08:00
Chen Fengyuan
b1e6d04323 docs: add badge for dependencies 2020-11-28 16:52:10 +08:00
Chen Fengyuan
680be63ecf build: release 1.8.0 v1.8.0 2020-11-08 13:33:14 +08:00
Chen Fengyuan
e808440b37 test: disable the focus option globally to avoid side effects 2020-11-08 13:21:33 +08:00
Chen Fengyuan
7572201fe8 fix: check if the pointer object is existing or not
Fix #421
2020-11-08 13:13:07 +08:00
Chen Fengyuan
28ec0c5c2e test: add test cases for the play and stop options 2020-11-08 12:55:23 +08:00
Chen Fengyuan
4429c0a8d5 test: add test case for the foucs option 2020-11-07 15:51:02 +08:00
Chen Fengyuan
94e8c286f0 build: update dependencies 2020-11-01 18:21:13 +08:00
Chen Fengyuan
3be7af7ada test: improve test cases 2020-11-01 18:20:53 +08:00
Chen Fengyuan
a49caf5807 feat: add new focus option 2020-11-01 17:14:23 +08:00
Chen Fengyuan
a922fbd1d7 feat: add ARIA attributes for better accessibility 2020-11-01 17:13:47 +08:00
Chen Fengyuan
84dbe9f9ae docs: update dependencies 2020-11-01 12:17:45 +08:00
Chen Fengyuan
594f4375ff build: release 1.7.1 v1.7.1 2020-09-29 21:45:47 +08:00
Sahin D
865c9e64aa
fix(types): inheritedAttributes should be optional (#415)
fixes #414
2020-09-29 21:29:39 +08:00
Chen Fengyuan
6283892b25 build: release 1.7.0 v1.7.0 2020-09-26 15:19:13 +08:00
Chen Fengyuan
5b0a6d3dbb docs: add missing event type of the zoom event 2020-09-26 13:43:34 +08:00
Chen Fengyuan
cd27a76d38 fix: add missing event options 2020-09-26 13:43:07 +08:00
Chen Fengyuan
736f317805 feat(types): add some new declarations 2020-09-26 13:42:20 +08:00
Chen Fengyuan
e1726029b0 feat: let the viewed, zoomed and hidden events can not be canceled 2020-09-19 15:37:24 +08:00
Chen Fengyuan
f2b5637af6 feat: add the new play and stop events
Fixed #411
2020-09-19 15:05:40 +08:00
Chen Fengyuan
cd15a9e444 fix: improve image updating
Fixed #408
2020-09-05 12:35:27 +08:00
Chen Fengyuan
0c040d17cf build: release 1.6.2 v1.6.2 2020-08-30 10:35:52 +08:00
Chen Fengyuan
2481225860 build: add exports flag for bundling CommonJS 2020-08-30 10:35:15 +08:00
Chen Fengyuan
e332d00b71 fix: improve the hide method for some edge cases
Fixed #407
2020-08-29 13:27:13 +08:00