Function render_document

Source
pub fn render_document(
    to: HtmlElement,
    document: DocumentOptions,
    context: Option<LeptosContext>,
    allow_hovers: Option<bool>,
    on_section_title: Option<JOnSectTtl>,
    on_fragment: Option<JFragCont>,
    on_inputref: Option<JInputRefCont>,
    on_problem: Option<JProblemCont>,
    problem_states: Option<ProblemStates>,
) -> Result<FTMLMountHandle, String>
Available on crate feature ts only.
Expand description

render an FTML document to the provided element

§Errors