Modules§
- ts 🔒
ts
Structs§
Enums§
- Document
Options ts
- Options for rendering an FTML document
- Fragment
Options ts
- Options for rendering an FTML document fragment
- Problem
State ts
- State of a particular problem
- TOCElem
ts
- An entry in a table of contents. Either:
- TOCOptions
ts
- Options for rendering a table of contents
GET
will retrieve it from the remote backendTOCElem[]
will render the provided TOC
Functions§
- ftml_
setup ts
- 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_
css ts
- render_
document ts
- render an FTML document to the provided element
- render_
fragment ts
- render an FTML document fragment to the provided element
- run
- set_
debug_ log ts
- activates debug logging
- set_
server_ url - sets the server url used to the provided one; by default
https://mathhub.info
.