sizes property

String get sizes

The HTMLImageElement property sizes allows you to specify the layout width of the image for each of a list of media conditions. This provides the ability to automatically select among different images—even images of different orientations or aspect ratios—as the document state changes to match different media conditions.

Each condition is specified using the same conditional format used by media queries.

Implementation

external String get sizes;
set sizes (String value)

Implementation

external set sizes(String value);