UNPKG

viewerjs

Version:
31 lines (18 loc) 1.3 kB
# Changelog ## 0.3.0 (Jan 21, 2016) - 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. ## 0.2.0 (Jan 1, 2016) - Added "update" method for update image dynamically. - Hides title and toolbar on small screen (width < 768px). ## 0.1.1 (Dec 28, 2015) - Supports to zoom from event triggering point. - Optimized "toggle" method. - Fixed a bug of the index of viewing image. ## 0.1.0 (Dec 24, 2015) - Supports 2 modes: "modal" (default), "inline" - Supports 30 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", "view", "viewed" - 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 8 events: "build", "built", "show", "shown", "hide", "hidden", "view", "viewed"