ButtonElement Class

ButtonElement class

The ButtonElement represents a wrapper that is associated with the HTMLButtonElement.

public class ButtonElement : FormElement<HTMLButtonElement>

Properties

NameDescription
getElementType Gets the type of the element.
getHtmlElement
id { get; set; }Represents the Id attribute of the Button element.
name { get; set; }Represent the name attribute of the Button element.
[getType]
[setType] Type of the form control.
value { get; set; }Represents the String value of the button element that is directly mapped to the ‘value’ attribute.

See Also