Documentation
¶
Overview ¶
Package view renders the self-contained HTML document used when the report is opened over file://.
A browser blocks fetch() against file:// URLs, so the served page's fetch of ?data= cannot work there. The standalone document therefore inlines the same stylesheet and script the server serves, plus the report itself as window.__COVER100_DATA__, which the page prefers over any fetch. Both forms are generated from the same source files, so they cannot drift.
Index ¶
Constants ¶
View Source
const ( IndexFile = "index.html" StyleFile = "styles.css" ScriptFile = "app.js" )
Source file names inside the public asset filesystem.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.