Skip to content

Releases: fengyuanchen/viewerjs

v0.6.0

24 Jan 06:55
Compare
Choose a tag to compare
  • Ported JavaScript code to ECMAScript 6.
  • Ported CSS code to CSSNext.

v0.5.1

02 Jan 13:15
Compare
Choose a tag to compare
  • Improved event handler for Pointer Events.

v0.5.0

22 Jul 09:08
Compare
Choose a tag to compare
  • Improve modal opening and closing.
  • Remove build event.
  • Rename built event to ready.
  • Fixed a bug of data-* attributes setting and getting (#33).

v0.4.0

20 Mar 07:27
Compare
Choose a tag to compare
  • Added some properties to "event.detail" of the "view" and "viewed" events.

v0.3.3

19 Mar 03:43
Compare
Choose a tag to compare
  • Fix the issue of hiding wrong element in the "view" method (#19).

v0.3.2

11 Mar 08:10
Compare
Choose a tag to compare
  • Fix the parameters error on the "url" option when it is a function.

v0.3.1

03 Feb 06:36
Compare
Choose a tag to compare
  • Added tests.
  • Ignored invalid class name.
  • Re-render image only when viewed.

v0.3.0

21 Jan 11:06
Compare
Choose a tag to compare
  • 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.

v0.2.0

01 Jan 04:46
Compare
Choose a tag to compare
  • Added "update" method for update image dynamically.
  • Hides title and toolbar on small screen (width < 768px).

v0.1.1

28 Dec 03:24
Compare
Choose a tag to compare
  • Supports to zoom from event triggering point.
  • Optimized "toggle" method.
  • Fixed a bug of the index of viewing image.