@wocart/storefront / index / Picture
Interface: Picture
A picked image ready for an <img>: its URL, its text alternative, its size, and where a crop centres.
Properties
alt
alt:
string
height
height:
number
position
position:
string
CSS object-position from the focal point (30% 70%); undefined without one.
src
src:
string
width
width:
number