name()
Sets the element name, which can be used to identify the element in the view hierarchy.
name(value: BindingOrValue<string | undefined>): this;
Parameters
- value — The element name, or a binding to a string value.
Return value
The builder instance for chaining.
Related
class ElementBuilder abstractstatic
An abstract base class for UI element builders.
