ipf-imagefilltype

Determines the fill type for an image in the element.

  • Format: ipf-imagefilltype(FillType)

    FillType can be normal, contain or fill. Using normal means the image keeps its size and aspect ratio. Using contain scales the image, while preserving its aspect ratio, to the largest size such that both its width and its height can fit inside the container. Using fill scales the image, without preserving its aspect ratio, to completely fill the inside of the container.

  • Default parameter value: normal
  • Not inherited