pub fn with_size(width: u32, height: u32) -> ImageElement {
        js! (
            return new Image(@{width}, @{height});
        ).try_into().unwrap()   
    }
/// Constructs a new ImageElement with the given width and height.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image)
Constructs a new ImageElement with the given width and height.
Constructs a new ImageElement with the given width and height .
pub fn with_size(width: u32, height: u32) -> ImageElement {
        js! (
            return new Image(@{width}, @{height});
        ).try_into().unwrap()   
    }
pub fn with_size ( width : u32 , height : u32 ) -> ImageElement { js ! ( return new Image ( { width } { height } ) ) . try_into ( ) . unwrap ( ) }
Constructs a new ImageElement with the given width and height.
Constructs a new ImageElement with the given width and height .
width
u32
height
u32
width
u32
height
u32