HtmlAreaElement
sealed class HtmlAreaElement : HtmlUrlBaseElement, IHtmlAreaElement, IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IElementCssInlineStyle, IGlobalEventHandlers, IUrlUtilities
Represents the area element.
using AngleSharp.Dom.Css;
using AngleSharp.Dom.Events;
using AngleSharp.Extensions;
using AngleSharp.Html;
namespace AngleSharp.Dom.Html
{
internal sealed class HtmlAreaElement : HtmlUrlBaseElement, IHtmlAreaElement, IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IElementCssInlineStyle, IGlobalEventHandlers, IUrlUtilities
{
public string AlternativeText {
get {
return this.GetOwnAttribute(AttributeNames.Alt);
}
set {
this.SetOwnAttribute(AttributeNames.Alt, value, false);
}
}
public string Coordinates {
get {
return this.GetOwnAttribute(AttributeNames.Coords);
}
set {
this.SetOwnAttribute(AttributeNames.Coords, value, false);
}
}
public string Shape {
get {
return this.GetOwnAttribute(AttributeNames.Shape);
}
set {
this.SetOwnAttribute(AttributeNames.Shape, value, false);
}
}
public HtmlAreaElement(Document owner, string prefix = null)
: base(owner, TagNames.Area, prefix, NodeFlags.SelfClosing | NodeFlags.Special)
{
}
}
}