Interface

PlutoBoard.initializeMethod
initialize(
	html_path::String,
	;
	hide_notebook::Bool = true,
	scripts::Array{String} = [],
	links::Array{String} = [],
) -> nothing

Initializes the PlutoBoard module with parameters. scripts and links are urls to scripts and stylesheets.

PlutoBoard.send_to_wsMethod
send_to_ws(
	ws::WebSocket,
	message::String
)

Send a message to a WebSocket as response. This triggers callback in callJuliaFunction.

PlutoBoard.runFunction
run(debug::Bool=false)

Runs the Pluto notebook with the PlutoBoard notebook. If debug is true, the notebook will reload when the file changes. Additionally copies the interface.js file to the lib directory of the current directory.

PlutoBoard.javascriptMethod
javascript(code::String) -> HypertextLiteral.HTML

Returns a HypertextLiteral.HTML object with the given javascript code.