Method | Description | |
---|---|---|
Picture ( this helper, string src ) : |
Creates a new picture element with the specified virtual source to manipulate.
|
|
Source ( this picture, string media, int width, int height = null ) : |
Adds new source child to picture element with media and srcset
|
|
Srcset ( this picture, int width, int height = null ) : |
Adds src to picture img element
|
public static Picture ( this helper, string src ) : |
||
helper | this | |
src | string | |
return |
public static Source ( this picture, string media, int width, int height = null ) : |
||
picture | this | |
media | string | |
width | int | |
height | int | |
return |
public static Srcset ( this picture, int width, int height = null ) : |
||
picture | this | |
width | int | |
height | int | |
return |