Crate ftml_viewer

Source

Modules§

ts ðŸ”’ ts

Structs§

FTMLMountHandlets
JProblemContts
ProblemStatests

Enums§

DocumentOptionsts
Options for rendering an FTML document
FragmentOptionsts
Options for rendering an FTML document fragment
ProblemStatets
State of a particular problem
TOCElemts
An entry in a table of contents. Either:
TOCOptionsts
Options for rendering a table of contents GET will retrieve it from the remote backend TOCElem[] will render the provided TOC

Functions§

ftml_setupts
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.
get_server_url
gets the current server url
inject_cssts
render_documentts
render an FTML document to the provided element
render_fragmentts
render an FTML document fragment to the provided element
run
set_debug_logts
activates debug logging
set_server_url
sets the server url used to the provided one; by default https://mathhub.info.

Type Aliases§

ProblemContts