Skip to content
ChartForgeX
Class

HtmlInteractiveDiagramOptions

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
sealed
Attributes
Fluent

Holds settings for interactive flow and sequence diagram HTML.

Inheritance

  • object
  • HtmlInteractiveDiagramOptions

Usage

Explore 14 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 10

Constructors

public HtmlInteractiveDiagramOptions() #

Properties

public HtmlChartLocalization Localization { get; } #

Gets the control messages and their language; authored diagram text is unchanged.

public string? Nonce { get; set; } #

Gets or sets the content security policy nonce. The script element carries it, and the output has no style attributes: inline styles and style elements move into one style element with this nonce (see HtmlStrictStyles), and the runtime restores the inline styles through the CSS object model.

Extension Methods

public static HtmlInteractiveDiagramOptions Localization(HtmlInteractiveDiagramOptions htmlInteractiveDiagramOptions, Action<HtmlChartLocalization> configure) #

Configures HtmlInteractiveDiagramOptions.Localization in place: Gets the control messages and their language; authored diagram text is unchanged.

Parameters

htmlInteractiveDiagramOptions ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization> required
Configures the value.

Returns

HtmlInteractiveDiagramOptions The same instance.
public static HtmlInteractiveDiagramOptions Nonce(HtmlInteractiveDiagramOptions htmlInteractiveDiagramOptions, string? value) #

Sets HtmlInteractiveDiagramOptions.Nonce: Gets or sets the content security policy nonce. The script element carries it, and the output has no style attributes: inline styles and style elements move into one style element with this nonce (see HtmlStrictStyles), and the runtime restores the inline styles through the CSS object model.

Parameters

htmlInteractiveDiagramOptions ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions required
The instance.
value string? required
The value.

Returns

HtmlInteractiveDiagramOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions { Nonce = value };    htmlInteractiveDiagramOptions.Nonce(value);