Function leptos_dom::document

source ·
pub fn document() -> Document
Expand description

Returns the Document.

This is cached as a thread-local variable, so calling document() multiple times requires only one call out to JavaScript.