Module ts

Source
Available on crate feature ts only.

Structsยง

FTMLMountHandle
GlobalSetupProps ๐Ÿ”’
Props for the GlobalSetup component.
JProblemCont
ProblemStates

Enumsยง

DocumentOptions
Options for rendering an FTML document
FragmentOptions
Options for rendering an FTML document fragment
ProblemState
State of a particular problem
TOCOptions
Options for rendering a table of contents GET will retrieve it from the remote backend TOCElem[] will render the provided TOC

Functionsยง

GlobalSetup ๐Ÿ”’
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

Type Aliasesยง

ProblemCont