Interface IElement
Definition
Namespace: StardewUI.Framework.Dom
Assembly: StardewUI.dll
Element in a StarML document, including the tag and all enclosed attributes.
Members
Properties
Name | Description |
---|---|
Attributes | The parsed list of attributes applied to this instance of the tag. |
Events | The parsed list of events applied to this instance of the tag. |
Tag | The parsed tag name. |
Methods
Name | Description |
---|---|
Print(StringBuilder, Boolean) | Prints the textual representation of this element. |
PrintClosingTag(StringBuilder) | Prints the closing tag for this element. |
Details
Properties
Attributes
The parsed list of attributes applied to this instance of the tag.
Property Value
Events
The parsed list of events applied to this instance of the tag.
Property Value
Tag
The parsed tag name.
Property Value
Methods
Print(StringBuilder, bool)
Prints the textual representation of this element.
Parameters
sb
StringBuilder
Builder to receive the element's text output.
asSelfClosing
Boolean
Whether to print the element as a self-closing tag, i.e. whether to include a /
character before the closing >
.
PrintClosingTag(StringBuilder)
Prints the closing tag for this element.
Parameters
sb
StringBuilder
Builder to receive the element's text output.