Table of Contents

Interface IHtmlScriptElement

Namespace
AngleSharp.Html.Dom
Assembly
AngleSharp.dll

Represents the script HTML element.

[DomName("HTMLScriptElement")]
public interface IHtmlScriptElement : IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers, ILoadableElement
Inherited Members
Extension Methods

Properties

CharacterSet

Gets or sets the character set of the script.

[DomName("charset")]
string? CharacterSet { get; set; }

Property Value

string

CrossOrigin

Gets or sets the cross-origin attribute.

[DomName("crossOrigin")]
string? CrossOrigin { get; set; }

Property Value

string

Integrity

Gets or sets the linked source's integrity, if any.

[DomName("integrity")]
string? Integrity { get; set; }

Property Value

string

IsAsync

Gets or sets if the script should be run asynchronously.

[DomName("async")]
bool IsAsync { get; set; }

Property Value

bool

IsDeferred

Gets or sets if script execution should be deferred.

[DomName("defer")]
bool IsDeferred { get; set; }

Property Value

bool

Source

Gets or sets the source URL of the script.

[DomName("src")]
string? Source { get; set; }

Property Value

string

Text

Gets or sets the script's source code.

[DomName("text")]
string Text { get; set; }

Property Value

string

Type

Gets or sets the type of script.

[DomName("type")]
string? Type { get; set; }

Property Value

string