Skip to main content

image_ctor

Function image_ctor 

Source
pub(crate) fn image_ctor(
    it: &mut Interp,
    _t: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

new Image(width?, height?): <img> 要素を作る(document.createElement('img') と同じ)。