Function js_utils::body

source ·
pub fn body() -> HtmlElement
Expand description

Gets document’s body.

This function panics when body doesn’t exist in document or if document doesn’t exist in window or if window doesn’t exist.