Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ObjectFit

Fit type used to control the resizing (scale) of the barcode picker to fit in its container originElement.

Index

Enumeration members

Enumeration members

CONTAIN

CONTAIN: = "contain"

Scale to maintain aspect ratio while fitting within the originElement's content box. Aspect ratio is preserved, so the barcode picker will be "letterboxed" if its aspect ratio does not match the aspect ratio of the box.

COVER

COVER: = "cover"

Scale to maintain aspect ratio while filling the originElement's entire content box. Aspect ratio is preserved, so the barcode picker will be clipped to fit if its aspect ratio does not match the aspect ratio of the box.

Generated using TypeDoc