- Fix: Unexpected body overflow unlock #147
- Fix: Nuxt3 build warning #145
- Feat: Add
dblclickDisabled
prop to disable double click. #131 - Feat: Add prop
currentImg: {}
to img title slot.
- Feat: Add
pinchDisabled
(default: false) prop to disable pinching. #130
- Feat: Support
types
condition inpackage.json
exports
field. #127
- Feat: Add
zoomDisabled
prop to disable image zooming. #93
- Refactor: using default icon svg with vue component.
- Fix: incorrect toolbar position #119
- Feat: Add
minZoom
to specify the minimum level of zoom scale.
- Feat: Add
on-rotate
event, which returns the clockwise angle (deg: number) when the event emit.
- Fix: Cannot access external css build. #106
- Fix(composables):
show()
accept wrong param when use in vue template. #104
- Feat: Add
maxZoom
zoomScale
to specify the zoom level.
- Fix: The default parameters of
useEasyLightbox()
is missing.
- Feat: Add composable
useEasyLightbox()
forsetup()
.
- Breaking Change:
ES5
bundles is removed. - Feat: Add some A11y attrs.
- Feat(type): Add emits type declaration.
- Feat: Enable or disable click mask to close
vue-easy-lightbox
.
- Feat: Reduced zoom in/out ratio.
- Feat: Zooming by mouse wheel is available only when
scrollDisabled
istrue
. - Breaking Change:
scrollDisabled
now defaults totrue
.
- Feat: Support zoom by mouse wheel.
- Feat: Support double click to enlarge img.
- Feat: Support RTL (right to left) languages.
- Fix: Firefox Dragging issues #81
- Feat: Make vue-devtool display named components.
- Fix: Can't get
toolbarMethods
from slot props.
- Feat: Extract css.
- Fix: Detect
window
incorrect on server side.
- Feat: Add
loop
prop to enable loop switching of image. - Feat: Add
scrollDisabled
prop to disable scrolling when modal is visible. - Feat: When
moveDisabled
is set totrue
, it is possible to switch images by swiping. - Feat: Add
swipeTolerance
prop for swipe distance detection. - Feat:
on-prev-click
/on-next-click
is renamed toon-prev
/on-next
, the old event name is kept and you can still use it.
- Feat: Use
teleport
prop to specify mount location. Docs
- Docs: update.
- Feat: New animation throttling.
- Feat:
d.ts
for.tsx
. - Feat: Small size.
- Fix: css class typos.
- Fix: Touch event handler error may occur in some cases.
- Fix: Scroll chaining when touchmove.
- Fix: #54 Img may be blurred in some cases.
- Fix: Component name typos.
- Fix: Touch event handler error may occur in some cases.
- Fix: #54 Img may be blurred in some cases.
- Docs: Update.
- Fix: Scroll chaining when touchmove.
- Fix: mouse-drag / touchmove animation ends incorrectly.
- Feat: Support
app.use(VueEasyLightbox)
in TypeScript.
- Feat: Update the d.ts file for Vue.js 3.
- Docs: Update the docs guides for Vue.js 2.
- Feat: Support Vue.js 3.0. And no breaking change!!
- Fix: Syntax error on IE11.
- Fix: Error
src of undefined
thrown when show VueEasyLighbox.
- Fix: Add style prefixes to fix error on firefox.
- Fix: Style error on firefox mobile.
- Feat: add prev/next btn click event (
on-prev-click
/on-next-click
) and index change event(on-index-change
), these events will returnoldIndex
&newIndex
.
- Fix: revert 'ArrowLeft' 'ArrowRight' key handler.
- Add keyboard left or right event handler for switching images.
- Add mobile device gesture to zoom or move image.
- Add image description.
- Fix drag animation slow.
- Fix peerDependencies lock.
- Add vetur support.
- Fix images does not load if they are the same url. #26
- Add loading & onerror placeholders.
- New Slot:
loading
&onerror
for custom loading or error placeholders. - New Event:
on-error
, imageonerror
event triggers.
- New props:
moveDisabled
with default valuefalse
to disable image movement.
- Fix changing index can't change img in display #18.
- Support TypeScript.
- Fix dist files does not match to package.json.
- Support press the escape key to close modal.
- Support custom btns and toolbar.
- Smaller Builds.
- Fix Bootstrap support #10
- Fix missing comma in README #6.
- Fix README's error.
- Most tools, such as vue-cli@3, configure babel-loader to ignore all files inside node_modules.
- So
vue-easy-lightbox.common.js
is now a version compiled with babel.
- Fix package.json entry point error.
- Use vue-cli@3 to build the component.
- Bug fix