App Behaviour

Constraint Height

The normalHeight option will apply a maximum height to each photo item and also adjust the width to keep the item aspect ratio. The purpose of normalHeight is to apply constraints on photo dimension so they are not too big which help improving aesthetics and app performance.

Sorted Item

The autoSorted option will sort input items according to their width, so the smaller items will be seen before the bigger items. If you don’t like this behaviour simply set the option to false to disable it.

Shifting Mode

When browsing through the gallery, current items are moved or shifted out of the view to reveal the items behind. The option ‘shiftMode’ dictates the animations and transitions used to move the items. There is a total of 14 shifting modes:

Name

Description

normalHeight

Constraint height applied to each item

left

Items are shifted left

right

Items are shifted right

leftRight

Items are shifted left and right alternatively

top

Items are shifted up

bottom

Items are shifted down

topBottom

Items are shifted up and down alternatively

spiral

Items are shifted down and rotated like a spiral

spiralReverse

Items are shifted down and rotated like a spiral reversely

spiralUp

Items are shifted up and rotated like a spiral

spiralUpReverse

Items are shifted up and rotated like a spiral reversely

reveal

Items are shifted down and rotated and remained in close distance

revealReverse

Items are shifted up and rotated and remained in close distance

flip

Items are flipped up and down