Skip to content

mosaicgallery / Deviation

Variable: Deviation

const Deviation: object

Defined in: gallery/config.ts:124

How a measurement should deviate from its target, when an exact match is not possbile.

Type Declaration

Auto

Auto: string = "auto"

The measurement should be as close as possible to the requested target and choose which direction is requires a smaller deviation.

Grow

Grow: string = "grow"

The measurement should match exactly or be larger than requested.

Shrink

Shrink: string = "shrink"

The measurement should match exactly or be smaller than requested.