Class ImageSize
- Namespace
- Songhay.Publications.Models
- Assembly
- Songhay.Publications.dll
Defines responsive-image sizes.
public class ImageSize
- Inheritance
-
ImageSize
- Inherited Members
- Extension Methods
Remarks
“sizes
allows you to specify the layout width
of the image for each of a list of media conditions.”
MDN [ 📖 https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes ]
Properties
LayoutWidth
Gets or sets the width of the layout.
public string? LayoutWidth { get; set; }
Property Value
MediaCondition
Gets or sets the media condition.
public string? MediaCondition { get; set; }