Module perseus::html_shell[][src]

Expand description

Utilities for manipulating the HTML shell. These are primarily used in exporting and serving.

Functions

Interpolates content, metadata, and state into the HTML shell, ready to be sent to the user for initial loads. This should be passed an HTMl shell prepared with prep_html_shell. This also takes the HTML id of the element in the shell to interpolate content into.

Initializes the HTML shell by interpolating necessary scripts into it, as well as by adding the render configuration.