- Refactor in ES6.
- Build CSS code with PostCSS.
- Removed
build
event. - Renamed
built
event toready
. - Removed event namespace.
- Fixed the issue of the "button" option (#8).
- Fixed the issue of the "$.fn.viewer.setDefault" static method (#9).
- Add more available values to the "title", "toolbar" and "navbar" options.
- Support to toggle the visibility of title, toolbar and navbar between different screen widths.
- Exit fullscreen when stop playing.
- Fixed title not generated bug (#6).
- Added "update" method for update image dynamically.
- Hides title and toolbar on small screen (width < 768px).
- Supports to zoom from event triggering point.
- Fix a bug of the index of viewing image.
- 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
- Added one new method: "moveTo"
- Improved the image loading and showing
- Fixed the issue of modal closing after zoomed in and zoomed out
- Supports 2 modes: "modal" (default), "inline"
- 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"
- Improve UI
- Develop a alpha version
- Design UI
- Develop a draft version