Function div::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.