Repository - API - Source
focus
.Tab
and Enter
keys to the keyboard support.pointer
object is defined or not for better compatibility (#421).types/index.d.ts
file (#414).play
and stop
(#411).viewed
, zoomed
and hidden
events can not be canceled.types/index.d.ts
file.this
in ES6+ (#395).hide
method for some edge cases (#407).inheritedAttributes
.src
attribute (#326).hide
method for unexpected calling (#367).body
element when resizing (#379).padding-right: 0px
from the body
element when close the viewer modal (#394).slideOnTouch
(#340).zoomOnTouch
and zoomOnWheel
(#329).index
value is invalid when call the view
method (#312).element
parameter on the class utility functions (#317).innerHTML
property for security (#269).Document not active
error when calling the exit
method.className
(#209).filter
option (#211)Object.assign
in iOS devices.toggleOnDblclick
(#173) and initialViewIndex
(#183).title
option to support to customize title content (#54, #185).zoom
and zoomed
(#144).data-*
to data-viewer-*
) to avoid side effect.update
method.TypeError
in strict mode (#149).show
and hide
methods.loading
.show
, hide
and play
methods.loop
option from false
to true
.container
.interval
option (#133).backdrop
.style
field to package.json
.document.documentElement
if document.body
is not existing (#120).loop
.filter
.prev
and next
methods (#47).main
field value from dist/viewer.js
(UMD) to dist/viewer.common.js
(CommonJS).module
and browser
fields to package.json
.build
event.built
event to ready
.data-*
attributes setting and getting (#33).