iron-image
.sizing="cover"
expands the image to cover all of its
specified size.
sizing="contain"
expands the image to fit within its
specified size.
--iron-image-width
property to set the width of
the image wrapped by the iron-image
.
--iron-image-height
property to set the height of
the image wrapped by the iron-image
.
preload
attribute shows a placeholder element in front
of the image before it has loaded. Use the
--iron-image-placeholder
CSS mixin to style it.
fade
attribute, the placeholder element is
hidden with no transition when the image loads.
fade
attribute, the placeholder element is
fades away when the image loads.
placeholder
attribute to specify a background image
for the placeholder element.
fade
attribute)
fade
attribute)