Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Releases: fengyuanchen/viewer

v0.3.0

24 Dec 09:58
Compare
Choose a tag to compare
  • Add 2 new options: "view" and "viewed"
  • Add 2 new events: "view" and "viewed"
  • Add keyboard support: stop playing when tap the Space key
  • Fix lost transition after call full method in inline mode
  • Fix incorrect tooltip after switch image quickly

v0.2.0

18 Oct 11:42
Compare
Choose a tag to compare
  • Added one new method: "moveTo"
  • Improved the image loading and showing.

v0.1.1

07 Oct 08:12
Compare
Choose a tag to compare
  • Fixed the issue of modal closing after zoomed in and zoomed out.

v0.1.0

02 Sep 11:19
Compare
Choose a tag to compare
  • Supports 28 options: inline, button, navbar, title, toolbar, tooltip, movable, zoomable, rotatable, scalable, transition, fullscreen, keyboard, interval, minWidth, minHeight, zoomRatio, minZoomRatio, maxZoomRatio, zIndex, zIndexInline, url, build, built, show, shown, hide, hidden
  • Supports 21 methods: show, hide, view, prev, next, move, zoom, zoomTo, rotate, rotateTo, scale, scaleX, scaleY, play, stop, full, exit, tooltip, toggle, reset, destroy
  • Supports 6 events: build.viewer, built.viewer, show.viewer, shown.viewer, hide.viewer, hidden.viewer