Skip to content

Function: installReportStyles() ​

ts
function installReportStyles(doc?): void;

Defined in: report/reportStyles.ts:186

Add REPORT_STYLES to doc once. Uses a constructed stylesheet where supported (CSSOM, which a style-src Content-Security-Policy does not block), otherwise a <style data-surfview-report-styles> element.

Parameters ​

doc? ​

Document = document

Returns ​

void

Released under the MIT License.