x

Open in Github
@twicpics-components
Documentation

mode property

Themode  property determines if the image fills or sits inside the area.

Here are the two accepted values:

  • cover: the image fills the area and is cropped accordingly.
  • contain: the image sits inside the area with no cropping.
mode="cover"
No mode set (coverby default)
mode="cover"
mode="contain"