Skip to main content

Crate leptos_use_document

Crate leptos_use_document 

Source
Expand description

SSR safe document()

Structs§

UseDocument
Return type of use_document.

Functions§

use_document
SSR safe document(). This returns just a new-type wrapper around Option<Document>. Calling this amounts to None on the server and Some(Document) on the client.