[][src]Function div::from_js_class

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

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