Class: PhotoViewer

Apps~PhotoViewer

new PhotoViewer(app)

Name Type Description
app Apps.Meida.Photos

parent object

Version:
  • 0.9.4

Requires

Members

$adjust jQieryObject

$blocks jQieryObject

$canvas jQieryObject

$detailtools jQieryObject

Toolbar Element

$el jQieryObject

Viewer Element

$handler jQieryObject

$minimap jQieryObject

$viewport jQieryObject

$zoomer jQieryObject

canvasScroll object

Properties:
Name Type Description
top number
left number

hasNextPhoto boolean

hasPrevPhoto boolean

mousePosition object

Properties:
Name Type Description
top number
left number

Type Definitions

app Apps.Meida.Photos

cursor Apps~Cursor

Methods

angle(angle, noupdate)

Name Type Description
angle object
noupdate boolean optional
Name Type Description
data object
Name Type Description
data object
Name Type Description
scale number
Name Type Description
event DOMEvent
Name Type Description
event DOMEvent

slider(data, currentWidth)

Name Type Description
data object
currentWidth number

update(data, resized)

Name Type Description
data object
resized boolean

inner scrollbarSize(){number}

Scrollbar size detection.

Returns:
Type Description
number scrollbar size
comments powered by Disqus