Available on crate feature
ts
only.Structsยง
- FTML
Mount Handle - Global
Setup ๐Props - Props for the
GlobalSetup
component. - JProblem
Cont - Problem
States
Enumsยง
- Document
Options - Options for rendering an FTML document
- Fragment
Options - Options for rendering an FTML document fragment
- Problem
State - State of a particular problem
- TOCOptions
- Options for rendering a table of contents
GET
will retrieve it from the remote backendTOCElem[]
will render the provided TOC
Functionsยง
- Global
Setup ๐ - Required Props
- convert ๐
- ftml_
setup - sets up a leptos context for rendering FTML documents or fragments. If a context already exists, does nothing, so is cheap to call render_document and render_fragment also inject a context iff none already exists, so this is optional in every case.
- inject_
css - render_
document - render an FTML document to the provided element
- render_
fragment - render an FTML document fragment to the provided element
- set_
debug_ log - activates debug logging