Skip to main content

from_js_class

Function from_js_class 

Source
pub fn from_js_class(
    x: i32,
    y: i32,
    w: u32,
    h: u32,
    class_handle: JsClassHandle,
) -> Result<DivHandle, DivError>
Expand description

Creates a new div and fills it with a JS class.