Creates a new InputElement.
The input type (default "text").
Alias 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.
Adds an input event listener.
Callback receiving the new value and the event.
Sets the placeholder text.
The placeholder string.
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.
Sets the value attribute.
The value.
Adds child elements to this element.
Child elements (variadic or array).
The element instance for chaining.
Represents an
<input>element.