HTMLButtonElement
namespace AngleSharp.DOM.Html
{
public class HTMLButtonElement : HTMLElement
{
public const string Tag = "button";
public bool Disabled {
get {
return GetAttribute("disabled") != null;
}
set {
SetAttribute("disabled", value ? string.Empty : null);
}
}
public string Name {
get {
return GetAttribute("name");
}
set {
SetAttribute("name", value);
}
}
public HTMLFormElement Form => GetAssignedForm();
internal bool IsVisited { get; set; }
internal bool IsActive { get; set; }
protected internal override bool IsSpecial => true;
public HTMLButtonElement()
{
_name = "button";
}
}
}