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
CrossOrigin
Gets or sets the cross-origin attribute.
[DomName("crossOrigin")]
string? CrossOrigin { get; set; }
Property Value
Integrity
Gets or sets the linked source's integrity, if any.
[DomName("integrity")]
string? Integrity { get; set; }
Property Value
IsAsync
Gets or sets if the script should be run asynchronously.
[DomName("async")]
bool IsAsync { get; set; }
Property Value
IsDeferred
Gets or sets if script execution should be deferred.
[DomName("defer")]
bool IsDeferred { get; set; }
Property Value
Source
Gets or sets the source URL of the script.
[DomName("src")]
string? Source { get; set; }
Property Value
Text
Gets or sets the script's source code.
[DomName("text")]
string Text { get; set; }
Property Value
Type
Gets or sets the type of script.
[DomName("type")]
string? Type { get; set; }