Class
HtmlEnhanceDocument
ChartForgeX.Interactivity.Html
Emits the enhance runtime once for one HTML document, however many charts the document contains.
Inheritance
- object
- HtmlEnhanceDocument
Constructors
public HtmlEnhanceDocument(string? nonce = null, HtmlAssetReferences? assets = null) #Creates a per-document emitter.
Parameters
- nonce string? = null
- An optional CSP nonce.
- assets ChartForgeX.Interactivity.Html.HtmlAssetReferences? = null
- When set, reference the shared files instead of inlining them.
Methods
public string Assets() #Returns the runtime markup the first time and an empty string afterwards.
Returns
string HTML markup, or an empty string.Inherited Methods
Properties
public bool Written { get; } #Gets whether the runtime markup has been returned for this document.