Function div::new

source ·
pub fn new(
    x: i32,
    y: i32,
    w: u32,
    h: u32,
    html: &str
) -> Result<DivHandle, DivError>
Expand description

Creates a new div at the defined position with the given HTML as content. Use the returned DivHandle to manipulate the div.