Live
Documentation generated by typedoc
on Thu Feb 20 2025 16:25:49 GMT+0000 (Coordinated Universal Time)
with typedoc-plugin-markdown
(and then rendered by quarto
).
Modules
Variables
QuartoInstances
const QuartoInstances: Map<string, TQuarto>;
Defined in: live/quarto.js:67
ServerInstances
const ServerInstances: Map<string, TServer>;
Defined in: live/server.js:56
Functions
Quarto()
function Quarto(options): TQuarto;
Defined in: live/quarto.js:275
Handles new log items for the logs table (if exists) and banner *(if included).
- When a message arrives, ensure that a row is added to the display.
- When the message is an error, show the overlay with the page scrolled down to the bottom of the content.
Parameters
options
Returns
QuartoLogItem()
function QuartoLogItem(item): TQuartoLogItem;
Defined in: live/quarto.js:162
Create quarto table table row for a log item.
Includes buttons to active the overlay and re-render, kind, origin, time, target, and origin. Highlights depending on success or failure of render.
Parameters
item
Log item pushed from websocket.
Returns
QuartoOverlayItem()
function QuartoOverlayItem(item, options): TQuartoOverlayItem;
Defined in: live/quarto.js:82
Create overlay content for a quarto render.
All errors will be highlighted in red and the overlay content will be colorized to red. Successful renders of qmd
documents will be colorized to blue. Successful updates of static assets will be colorized in teal.
Parameters
item
an item pushed from quarto
logs websocket.
options
overlayRenders
Returns
Server()
function Server(options): TServer;
Defined in: live/server.js:208
Add reactivity to ServerLog
. Generates new rows when logs are pushed to the websocket.