Optionalsrc: stringOptionalalt: stringAlias for .with(). Adds child elements.
Child elements.
The element instance for chaining.
Applies "Magic" argument processing. Infers intent based on argument types.
Variadic arguments.
The element instance.
Sets an HTML attribute.
The attribute name.
The attribute value.
The element instance for chaining.
Adds a CSS class name to the element.
The class name(s) to add.
The element instance for chaining.
Applies CSS classes using the CSS-in-JS style manager. Generates a unique class name and injects styles.
StyleObject defining the styles.
The element instance for chaining.
Renders a list of items reactively.
A State array or a function returning an array.
Function to create a BaseElement for each item.
The element instance for chaining.
Renders the element to an HTML string.
The HTML string.
Sets the text content of the element. Supports reactive state binding.
String, number, reactive State, or getter function.
The element instance for chaining.
Adds child elements to this element.
Child elements (variadic or array).
The element instance for chaining.
Represents an
<img>element.