SvgScriptElement Class
https://w3c.github.io/svgwg/svg2-draft/interact.html#svgscriptelement
public sealed class SvgScriptElement : SvgElement- Inheritance
SvgElementSvgScriptElement
Properties
| Name | Description |
|---|---|
| Async | Whether the script is executed as soon as possible (https://html.spec.whatwg.org/multipage/scripting.html#dom-script-async): the async attribute of the HTML script elements, which the browsers also apply to the SVG ones. |
| CrossOrigin | https://svgwg.org/svg2-draft/interact.html#__svg__SVGScriptElement__crossOrigin |
| Href | Gets the href attribute as a SVGAnimatedString object. |
| ReferrerPolicy | https://svgwg.org/svg2-draft/interact.html#__svg__SVGScriptElement__referrerPolicy |
| Type | Gets or sets the value of the type content attribute. |
Async
SvgElements.cs- Experimental (WEBPLATEXP0020)
Whether the script is executed as soon as possible (https://html.spec.whatwg.org/multipage/scripting.html#dom-script-async): the async attribute of the HTML script elements, which the browsers also apply to the SVG ones.
[Experimental("WEBPLATEXP0020", UrlFormat = "https://github.com/meziantou/Meziantou.Framework/blob/main/src/Meziantou.Framework.WebPlatform/docs/experimental-apis.md#{0}")]
public bool Async { get; set; }CrossOrigin
SvgElements.cshttps://svgwg.org/svg2-draft/interact.html#__svg__SVGScriptElement__crossOrigin
public string? CrossOrigin { get; set; }Href
SvgElements.g.csGets the href attribute as a SVGAnimatedString object.
public SvgAnimatedString Href { get; }ReferrerPolicy
SvgElements.cshttps://svgwg.org/svg2-draft/interact.html#__svg__SVGScriptElement__referrerPolicy
public string ReferrerPolicy { get; set; }Type
SvgElements.g.csGets or sets the value of the type content attribute.
public string Type { get; set; }