DateTime

open class DateTime(value: LocalDateTime? = null, min: LocalDateTime? = null, max: LocalDateTime? = null, step: Int = DATETIME_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, renderConfig: RenderConfig = RenderConfig.Default) : Input<LocalDateTime> , DateTimeFormControl, IDateTime(source)

Date and time input component.

Constructors

Link copied to clipboard
constructor(value: LocalDateTime? = null, min: LocalDateTime? = null, max: LocalDateTime? = null, step: Int = DATETIME_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, renderConfig: RenderConfig = RenderConfig.Default)

Properties

Link copied to clipboard
open override var accesskey: Char?

The accesskey attribute.

Link copied to clipboard
open override var alignContent: AlignContent?

CSS flexbox/grid content alignment.

Link copied to clipboard
open override var alignItems: AlignItems?

CSS flexbox/grid items alignment.

Link copied to clipboard
open override var alignSelf: AlignItems?

CSS flexbox items self-alignment.

Link copied to clipboard
open override var ariaDescribedby: String?

The aria-describedby attribute.

Link copied to clipboard
open override var ariaLabel: String?

The aria-label attribute.

Link copied to clipboard
open override var ariaLabelledby: String?

The aria-labelledby attribute.

Link copied to clipboard
open override var autocomplete: Autocomplete?

The autocomplete attribute of the generated HTML input element.

Link copied to clipboard
open override var autofocus: Boolean?

The autofocus attribute.

Link copied to clipboard
open override var background: Background?

Background of the current component.

Link copied to clipboard
open override var border: Border?

Border of the current component.

Link copied to clipboard
open override var borderBottom: Border?

Bottom border of the current component.

Link copied to clipboard
open override var borderLeft: Border?

Left border of the current component.

Link copied to clipboard
open override var borderRadius: CssSize?

CSS border radius.

Link copied to clipboard
open override var borderRadiusList: List<CssSize>?

List of CSS border radius values.

Link copied to clipboard
open override var borderRight: Border?

Right border of the current component.

Link copied to clipboard
open override var borderTop: Border?

Top border of the current component.

Link copied to clipboard
open override var bottom: CssSize?

Bottom edge of the current component.

Link copied to clipboard
open override var boxShadow: BoxShadow?

Box shadow of the current component.

Link copied to clipboard
open override var boxShadowList: List<BoxShadow>?

List of box shadows of the current component.

Link copied to clipboard
open override val children: MutableList<ComponentBase>

List of child components.

Link copied to clipboard
open override var className: String?

The CSS class of the current component.

Link copied to clipboard
open override var clear: Clear?

CSS clear float of the current component.

Link copied to clipboard
open override var color: Color?

Text color for the current component.

Link copied to clipboard
open override var columnGap: CssSize?

CSS grid/flex column gap.

Link copied to clipboard
open override val componentId: Int

Unique component id.

Link copied to clipboard
open override var cursor: Cursor?

CSS cursor shape over the current component.

Link copied to clipboard
open override var customValidity: String?

The custom validity of the HTML element.

Link copied to clipboard
open override var defaultValue: LocalDateTime?

The value attribute of the generated HTML input element.

Link copied to clipboard
open override var direction: Direction?

CSS Text direction of the current component.

Link copied to clipboard
open override var disabled: Boolean?

The disabled attribute of the generated HTML input element.

Link copied to clipboard
open override var display: Display?

CSS display of the current component.

Link copied to clipboard
open override var draggable: Boolean?

The draggable attribute.

Link copied to clipboard
open override val element: HTMLInputElement

The DOM element of the current component.

Link copied to clipboard
open override var flexBasis: CssSize?

CSS flexbox item basis.

Link copied to clipboard
open override var flexDirection: FlexDirection?

CSS flexbox direction.

Link copied to clipboard
open override var flexGrow: Int?

CSS flexbox item grow.

Link copied to clipboard
open override var flexShrink: Int?

CSS flexbox item shrink.

Link copied to clipboard
open override var flexWrap: FlexWrap?

CSS flexbox wrap mode.

Link copied to clipboard
open override var float: CssFloat?

CSS position float of the current component.

Link copied to clipboard
open override var fontFamily: String?

CSS font family of the current component.

Link copied to clipboard
open override var fontSize: CssSize?

CSS font size of the current component.

Link copied to clipboard
open override var fontStyle: FontStyle?

CSS font style of the current component.

Link copied to clipboard
open override var fontVariant: FontVariant?

CSS font public override variant of the current component.

Link copied to clipboard
open override var fontWeight: FontWeight?

CSS font weight of the current component.

Link copied to clipboard
open override var gridArea: String?

CSS grid area.

Link copied to clipboard
open override var gridAutoColumns: String?

CSS grid auto columns.

Link copied to clipboard
open override var gridAutoFlow: GridAutoFlow?

CSS grid auto flow.

Link copied to clipboard
open override var gridAutoRows: String?

CSS grid auto rows.

Link copied to clipboard
open override var gridColumn: String?

CSS grid column.

Link copied to clipboard
open override var gridColumnEnd: String?

CSS grid column end.

Link copied to clipboard
open override var gridColumnStart: String?

CSS grid column start.

Link copied to clipboard
open override var gridRow: String?

CSS grid row.

Link copied to clipboard
open override var gridRowEnd: String?

CSS grid row end.

Link copied to clipboard
open override var gridRowStart: String?

CSS grid row start.

Link copied to clipboard
open override var gridTemplate: String?

CSS grid template.

Link copied to clipboard
open override var gridTemplateAreas: List<String>?

CSS grid areas template.

Link copied to clipboard
open override var gridTemplateColumns: String?

CSS grid columns template.

Link copied to clipboard
open override var gridTemplateRows: String?

CSS grid rows template.

Link copied to clipboard
open override var height: CssSize?

Height of the current component.

Link copied to clipboard
open override var id: String?

The ID attribute of the current component.

Link copied to clipboard
open val innerHTML: String

Render children components to a string.

Link copied to clipboard
open override var justifyContent: JustifyContent?

CSS flexbox/grid content justification.

Link copied to clipboard
open override var justifyItems: JustifyItems?

CSS grid items justification.

Link copied to clipboard
open override var justifySelf: JustifyItems?

CSS grid items self-justification.

Link copied to clipboard
open override var left: CssSize?

Left edge of the current component.

Link copied to clipboard
open override var letterSpacing: CssSize?

CSS Text letter spacing of the current component.

Link copied to clipboard
open override var lineBreak: LineBreak?

CSS line break of the current component.

Link copied to clipboard
open override var lineHeight: CssSize?

CSS Text line height of the current component.

Link copied to clipboard
open override var list: String?

The list attribute of the generated HTML input element.

Link copied to clipboard
open override var listStyle: ListStyle?

List style of the current component.

Link copied to clipboard
open override var margin: CssSize?

Margin of the current component.

Link copied to clipboard
open override var marginBottom: CssSize?

Bottom margin of the current component.

Link copied to clipboard
open override var marginLeft: CssSize?

Left margin of the current component.

Link copied to clipboard
open override var marginRight: CssSize?

Right margin of the current component.

Link copied to clipboard
open override var marginTop: CssSize?

Top margin of the current component.

Link copied to clipboard
open override var maskOptions: MaskOptions?

The input mask options.

Link copied to clipboard
open override var max: LocalDateTime?

The maximum value of the date and time.

Link copied to clipboard
open override var maxHeight: CssSize?

Maximal height of the current component.

Link copied to clipboard
open override var maxlength: Int?

The maxlength attribute of the generated HTML input element.

Link copied to clipboard
open override var maxWidth: CssSize?

Maximal width of the current component.

Link copied to clipboard
open override var min: LocalDateTime?

The minimum value of the date and time.

Link copied to clipboard
open override var minHeight: CssSize?

Minimal height of the current component.

Link copied to clipboard
open override var minWidth: CssSize?

Minimal width of the current component.

Link copied to clipboard
open override val mutableStateFlow: MutableStateFlow<LocalDateTime?>

A mutable state flow view of the component's state

Link copied to clipboard
open override var name: String?

The name attribute of the generated HTML input element.

Link copied to clipboard
val node: Node
Link copied to clipboard
open override var opacity: Double?

Opacity of the current component.

Link copied to clipboard
open override var order: Int?

CSS flexbox item order.

Link copied to clipboard
open override var outline: Outline?

Outline of the current component.

Link copied to clipboard
open override var overflow: Overflow?

CSS overflow of the current component.

Link copied to clipboard
open override var overflowWrap: OverflowWrap?

CSS overflow-wrap of the current component.

Link copied to clipboard
open override var overflowX: Overflow?

CSS overflow-x of the current component.

Link copied to clipboard
open override var overflowY: Overflow?

CSS overflow-y of the current component.

Link copied to clipboard
open override var padding: CssSize?

Padding of the current component.

Link copied to clipboard
open override var paddingBottom: CssSize?

Bottom padding of the current component.

Link copied to clipboard
open override var paddingLeft: CssSize?

Left padding of the current component.

Link copied to clipboard
open override var paddingRight: CssSize?

Right padding of the current component.

Link copied to clipboard
open override var paddingTop: CssSize?

Top padding of the current component.

Link copied to clipboard
open override var parent: Component?

Parent component.

Link copied to clipboard
open override var placeholder: String?

The placeholder attribute of the generated HTML input element.

Link copied to clipboard
open override var position: Position?

CSS position of the current component.

Link copied to clipboard
open override var readonly: Boolean?

The readonly attribute of the generated HTML input element.

Link copied to clipboard
open override val renderConfig: RenderConfig

Render configuration.

Link copied to clipboard
open override var required: Boolean?

Determines if the field is required.

Link copied to clipboard
open override var resize: Resize?

CSS resize of the current component.

Link copied to clipboard
open override var right: CssSize?

Right edge of the current component.

Link copied to clipboard
open override var role: String?

The role attribute.

Link copied to clipboard
open override var rowGap: CssSize?

CSS grid/flex row gap.

Link copied to clipboard
open override val stateFlow: StateFlow<LocalDateTime?>

A state flow view of the component's state

Link copied to clipboard
open override var step: Int

The step value of the date and time.

Link copied to clipboard
open override var tabindex: Int?

The tabindex attribute.

Link copied to clipboard
open override var textAlign: TextAlign?

CSS Text align of the current component.

Link copied to clipboard
open var textContent: String?

The text content of the current component or null if the first child is not a TextNode.

Link copied to clipboard
open override var textDecoration: TextDecoration?

CSS Text decoration of the current component.

Link copied to clipboard
open override var textIndent: CssSize?

CSS Text indent of the current component.

Link copied to clipboard
open override var textOverflow: TextOverflow?

CSS Text overflow of the current component.

Link copied to clipboard
open override var textShadow: TextShadow?

CSS Text shadow of the current component.

Link copied to clipboard
open override var textTransform: TextTransform?

CSS Text transform of the current component.

Link copied to clipboard
open override var title: String?

The title attribute.

Link copied to clipboard
open override var top: CssSize?

Top edge of the current component.

Link copied to clipboard
open override var transition: Transition?

CSS transition effect for the current component.

Link copied to clipboard
open override var transitionList: List<Transition>?

List of CSS transition effects for the current component.

Link copied to clipboard
open override var type: InputType

The type attribute of the generated HTML input element.

Link copied to clipboard
open override var unicodeBidi: UnicodeBidi?

CSS Text unicode-bidi of the current component.

Link copied to clipboard
open override var value: LocalDateTime?

Generic value.

Link copied to clipboard
open override var verticalAlign: VerticalAlign?

CSS Text vertical align of the current component.

Link copied to clipboard
open override var visibility: Visibility?

CSS visibility of the current component.

Link copied to clipboard
open override var visible: Boolean

Component visibility.

Link copied to clipboard
open override var whiteSpace: WhiteSpace?

CSS Text white space of the current component.

Link copied to clipboard
open override var width: CssSize?

Width of the current component.

Link copied to clipboard
open override var wordBreak: WordBreak?

CSS word break of the current component.

Link copied to clipboard
open override var wordSpacing: CssSize?

CSS Text word spacing of the current component.

Link copied to clipboard
open override var zIndex: Int?

Z-index of the current component.

Functions

Link copied to clipboard
@Composable
fun IComponent.a(href: String? = null, label: String? = null, icon: String? = null, target: String? = null, className: String? = null, id: String? = null, content: @Composable IA.() -> Unit = {})

Creates a A component with a given label and icon.

Link copied to clipboard
@Composable
open override fun accesskey(accesskey: Char?)

Set the accesskey attribute.

Link copied to clipboard
@Composable
open override fun alignContent(alignContent: AlignContent?)

Set the CSS flexbox/grid content alignment.

Link copied to clipboard
@Composable
open override fun alignItems(alignItems: AlignItems?)

Set the CSS flexbox/grid items alignment.

Link copied to clipboard
@Composable
open override fun alignSelf(alignSelf: AlignItems?)

Set the CSS flexbox items self-alignment.

Link copied to clipboard
@Composable
fun IComponent.aRef(href: String? = null, label: String? = null, icon: String? = null, target: String? = null, className: String? = null, id: String? = null, content: @Composable IA.() -> Unit = {}): A

Creates a A component with a given label and icon, returning a reference.

Link copied to clipboard
@Composable
open override fun ariaDescribedby(ariaDescribedby: String?)

Set the aria-describedby attribute.

Link copied to clipboard
@Composable
open override fun ariaLabel(ariaLabel: String?)

Set the aria-label attribute.

Link copied to clipboard
@Composable
open override fun ariaLabelledby(ariaLabelledby: String?)

Set the aria-labelledby attribute.

Link copied to clipboard
@Composable
fun IComponent.atom(label: String? = null, icon: String? = null, separator: String? = null, iconFirst: Boolean = true)

Creates a label with an icon.

Link copied to clipboard
@Composable
open override fun attribute(name: String, value: String?)

Set value for the given attribute.

Link copied to clipboard
@Composable
open override fun autocomplete(autocomplete: Autocomplete?)

Set the autocomplete attribute of the generated HTML input element.

Link copied to clipboard
@Composable
open override fun autofocus(autofocus: Boolean?)

Set the autofocus attribute.

Link copied to clipboard
@Composable
open override fun background(background: Background?)

Set the background of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.background(color: Color? = null, image: String? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)

Set the background of the current component.

Link copied to clipboard
@Composable
open fun <K : Any> bind(key: KProperty1<K, LocalDateTime?>, validator: (DateTimeFormControl) -> Boolean? = null)

Bind a date and time control to the form.

@Composable
open fun bind(key: String, validator: (FormControl<LocalDateTime?>) -> Boolean? = null)

Binds a form control to the form with a dynamic key.

Link copied to clipboard
@Composable
open fun <K : Any> bindWithValidationMessage(key: KProperty1<K, LocalDateTime?>, validator: (DateTimeFormControl) -> Pair<Boolean, String?>? = null)

Bind a date and time control to the form.

@Composable
open fun bindWithValidationMessage(key: String, validator: (FormControl<LocalDateTime?>) -> Pair<Boolean, String?>? = null)

Binds a form control to the form with a dynamic key.

Link copied to clipboard
open override fun blur()

Makes the element blur.

Link copied to clipboard
@Composable
open override fun border(border: Border?)

Set the border of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.border(width: CssSize? = null, style: BorderStyle? = null, color: Color? = null)

Set the border of the current component.

Link copied to clipboard
@Composable
open override fun borderBottom(borderBottom: Border?)

Set the bottom border of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.borderBottom(width: CssSize? = null, style: BorderStyle? = null, color: Color? = null)

Set the bottom border of the current component.

Link copied to clipboard
@Composable
open override fun borderLeft(borderLeft: Border?)

Set the left border of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.borderLeft(width: CssSize? = null, style: BorderStyle? = null, color: Color? = null)

Set the left border of the current component.

Link copied to clipboard
@Composable
open override fun borderRadius(borderRadius: CssSize?)

Set the CSS border radius.

Link copied to clipboard
@Composable
open override fun borderRadiusList(borderRadiusList: List<CssSize>?)

Set the list of CSS border radius values.

Link copied to clipboard
@Composable
open override fun borderRight(borderRight: Border?)

Set the right border of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.borderRight(width: CssSize? = null, style: BorderStyle? = null, color: Color? = null)

Set the right border of the current component.

Link copied to clipboard
@Composable
open override fun borderTop(borderTop: Border?)

Set the top border of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.borderTop(width: CssSize? = null, style: BorderStyle? = null, color: Color? = null)

Set the top border of the current component.

Link copied to clipboard
@Composable
open override fun bottom(bottom: CssSize?)

Set the bottom edge of the current component.

Link copied to clipboard
@Composable
open override fun boxShadow(boxShadow: BoxShadow?)

Set the box shadow of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.boxShadow(hOffset: CssSize? = null, vOffset: CssSize? = null, blurRadius: CssSize? = null, spreadRadius: CssSize? = null, color: Color? = null, inset: Boolean = false)

Set the box shadow of the current component.

Link copied to clipboard
@Composable
open override fun boxShadowList(boxShadowList: List<BoxShadow>?)

Set the list of box shadows of the current component.

Link copied to clipboard
@Composable
fun IComponent.button(label: String? = null, icon: String? = null, type: ButtonType = ButtonType.Button, disabled: Boolean? = null, className: String? = null, id: String? = null, content: @Composable IButton.() -> Unit = {})

Creates a Button component with a given label and icon.

Link copied to clipboard
@Composable
fun IComponent.buttonRef(label: String? = null, icon: String? = null, type: ButtonType = ButtonType.Button, disabled: Boolean? = null, className: String? = null, id: String? = null, content: @Composable IButton.() -> Unit = {}): Button

Creates a Button component with a given label and icon, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, className: String? = null, id: String? = null, content: @Composable ICanvas.() -> Unit = {})

Creates a Canvas component.

Link copied to clipboard
@Composable
fun IComponent.canvasRef(canvasWidth: Int? = null, canvasHeight: Int? = null, className: String? = null, id: String? = null, content: @Composable ICanvas.() -> Unit = {}): Canvas

Creates a Canvas component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.checkBox(value: Boolean = false, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ICheckBox.() -> Unit = {})

Creates CheckBox component.

Link copied to clipboard
@Composable
fun IComponent.checkBoxRef(value: Boolean = false, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ICheckBox.() -> Unit = {}): CheckBox

Creates CheckBox component, returning a reference.

Link copied to clipboard
@Composable
open override fun className(className: String?)

Sets the CSS class of the current component.

Link copied to clipboard
@Composable
open override fun clear(clear: Clear?)

Set the CSS clear float of the current component.

Link copied to clipboard
open override fun clearDragDropData()

Clears D&D data for the current component. It also makes it not draggable.

Link copied to clipboard
open override fun clearDropTarget()

Unsets the current component as a D&D drop target.

Link copied to clipboard
@Composable
fun <T> WithStateFlow<T>.collectAsState(context: CoroutineContext = EmptyCoroutineContext): State<T>

Collects values from this component and represents its latest value via State. The StateFlow.value is used as an initial value. Every time there would be new value posted into the StateFlow the returned State will be updated causing recomposition of every State.value usage.

Link copied to clipboard
@Composable
open override fun color(color: Color?)

Set the text color for the current component.

Link copied to clipboard
@Composable
fun IComponent.colorPicker(value: String? = null, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IText.() -> Unit = {})

Creates Text component with color input type.

Link copied to clipboard
@Composable
fun IComponent.colorPickerRef(value: String? = null, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IText.() -> Unit = {}): Text

Creates Text component with color input type, returning a reference.

Link copied to clipboard
@Composable
open override fun columnGap(columnGap: CssSize?)

Set the CSS grid/flex column gap.

Link copied to clipboard
@Composable
fun IComponent.commentNode(data: String)

Creates a CommentNode component.

Link copied to clipboard
@Composable
open override fun cursor(cursor: Cursor?)

Set the CSS cursor shape over the current component.

Link copied to clipboard
@Composable
fun IComponent.date(value: LocalDate? = null, min: LocalDate? = null, max: LocalDate? = null, step: Int = DATE_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IDate.() -> Unit = {})

Creates a Date component.

Link copied to clipboard
@Composable
fun IComponent.dateRef(value: LocalDate? = null, min: LocalDate? = null, max: LocalDate? = null, step: Int = DATE_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IDate.() -> Unit = {}): Date

Creates a Date component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.dateTime(value: LocalDateTime? = null, min: LocalDateTime? = null, max: LocalDateTime? = null, step: Int = DATETIME_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IDateTime.() -> Unit = {})

Creates a DateTime component.

Link copied to clipboard
@Composable
fun IComponent.dateTimeRef(value: LocalDateTime? = null, min: LocalDateTime? = null, max: LocalDateTime? = null, step: Int = DATETIME_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IDateTime.() -> Unit = {}): DateTime

Creates a DateTime component, returning a reference.

Link copied to clipboard
@Composable
open override fun defaultValue(defaultValue: LocalDateTime?)

Set the value attribute of the generated HTML input element.

Link copied to clipboard
@Composable
open override fun direction(direction: Direction?)

Set the CSS Text direction of the current component.

Link copied to clipboard
@Composable
open override fun disabled(disabled: Boolean?)

Set the disabled attribute of the generated HTML input element.

Link copied to clipboard
open fun dispatchEvent(type: String, eventInitDict: CustomEventInit<*>): Boolean

Dispatches a custom event.

Link copied to clipboard
@Composable
open override fun display(display: Display?)

Set the CSS display of the current component.

Link copied to clipboard
@Composable
open override fun draggable(draggable: Boolean?)

Set the draggable attribute.

Link copied to clipboard
@Composable
fun IComponent.fieldWithLabel(label: String, className: String? = null, labelAfter: Boolean = false, groupClassName: String? = null, wrapperClassName: String? = null, content: @Composable IComponent.(id: String) -> Unit)

Creates a block with an associated label.

Link copied to clipboard
@Composable
open override fun flexBasis(flexBasis: CssSize?)

Set the CSS flexbox item basis.

Link copied to clipboard
@Composable
open override fun flexDirection(flexDirection: FlexDirection?)

Set the CSS flexbox direction.

Link copied to clipboard
@Composable
open override fun flexGrow(flexGrow: Int?)

Set the CSS flexbox item grow.

Link copied to clipboard
@Composable
fun IComponent.flexPanel(flexDirection: FlexDirection? = null, flexWrap: FlexWrap? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, alignContent: AlignContent? = null, rowGap: CssSize? = null, columnGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit)

Creates a CSS flexbox container.

Link copied to clipboard
@Composable
fun IComponent.flexPanelRef(flexDirection: FlexDirection? = null, flexWrap: FlexWrap? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, alignContent: AlignContent? = null, rowGap: CssSize? = null, columnGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit): Div

Creates a CSS flexbox container, returning a reference.

Link copied to clipboard
@Composable
open override fun flexShrink(flexShrink: Int?)

Set the CSS flexbox item shrink.

Link copied to clipboard
@Composable
open override fun flexWrap(flexWrap: FlexWrap?)

Set the CSS flexbox wrap mode.

Link copied to clipboard
@Composable
open override fun float(float: CssFloat?)

Set the CSS position float of the current component.

Link copied to clipboard
open override fun focus()

Makes the element focused.

Link copied to clipboard
@Composable
open override fun fontFamily(fontFamily: String?)

Set the CSS font family of the current component.

Link copied to clipboard
@Composable
open override fun fontSize(fontSize: CssSize?)

Set the CSS font size of the current component.

Link copied to clipboard
@Composable
open override fun fontStyle(fontStyle: FontStyle?)

Set the CSS font style of the current component.

Link copied to clipboard
@Composable
open override fun fontVariant(fontVariant: FontVariant?)

Set the CSS font variant of the current component.

Link copied to clipboard
@Composable
open override fun fontWeight(fontWeight: FontWeight?)

Set the CSS font weight of the current component.

Link copied to clipboard
@Composable
inline fun <K : Any> IComponent.form(initialData: K? = null, method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, requiredMessage: String = REQUIRED_FIELD_MESSAGE, invalidMessage: String = INVALID_FIELD_MESSAGE, customSerializers: Map<KClass<*>, KSerializer<*>>? = null, className: String? = null, id: String? = null, crossinline content: @Composable Form<K>.() -> Unit = {})

Creates a Form component with a data class model.

@Composable
fun IComponent.form(initialData: Map<String, Any?>? = null, method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, requiredMessage: String = REQUIRED_FIELD_MESSAGE, invalidMessage: String = INVALID_FIELD_MESSAGE, customSerializers: Map<KClass<*>, KSerializer<*>>? = null, className: String? = null, id: String? = null, content: @Composable Form<Map<String, Any?>>.() -> Unit = {})

Creates a Form component with map model.

Link copied to clipboard
@Composable
inline fun <K : Any> IComponent.formRef(initialData: K? = null, method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, requiredMessage: String = REQUIRED_FIELD_MESSAGE, invalidMessage: String = INVALID_FIELD_MESSAGE, customSerializers: Map<KClass<*>, KSerializer<*>>? = null, className: String? = null, id: String? = null, crossinline content: @Composable Form<K>.() -> Unit = {}): Form<K>

Creates a Form component with a data class model, returning a reference.

@Composable
fun IComponent.formRef(initialData: Map<String, Any?>? = null, method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, requiredMessage: String = REQUIRED_FIELD_MESSAGE, invalidMessage: String = INVALID_FIELD_MESSAGE, customSerializers: Map<KClass<*>, KSerializer<*>>? = null, className: String? = null, id: String? = null, content: @Composable Form<Map<String, Any?>>.() -> Unit = {}): Form<Map<String, Any?>>

Creates a Form component with map model, returning a reference.

Link copied to clipboard
open override fun getAttribute(name: String): String?

Get value of the given attribute.

Link copied to clipboard
open override fun getStyle(name: String): String?

Get value of the given CSS style.

Link copied to clipboard
open fun getValue(): Any?

Returns the value of the form control.

Link copied to clipboard
open override fun getValueAsString(): String?

Returns the value as a string.

Link copied to clipboard
@Composable
open override fun gridArea(gridArea: String?)

Set the CSS grid area.

Link copied to clipboard
@Composable
open override fun gridAutoColumns(gridAutoColumns: String?)

Set the CSS grid auto columns.

Link copied to clipboard
@Composable
open override fun gridAutoFlow(gridAutoFlow: GridAutoFlow?)

Set the CSS grid auto flow.

Link copied to clipboard
@Composable
open override fun gridAutoRows(gridAutoRows: String?)

Set the CSS grid auto rows.

Link copied to clipboard
@Composable
open override fun gridColumn(gridColumn: String?)

Set the CSS grid column.

Link copied to clipboard
@Composable
open override fun gridColumnEnd(gridColumnEnd: String?)

Set the CSS grid column end.

Link copied to clipboard
@Composable
open override fun gridColumnStart(gridColumnStart: String?)

Set the CSS grid column start.

Link copied to clipboard
@Composable
fun IComponent.gridPanel(gridAutoColumns: String? = null, gridAutoRows: String? = null, gridAutoFlow: GridAutoFlow? = null, gridTemplateColumns: String? = null, gridTemplateRows: String? = null, gridTemplateAreas: List<String>? = null, justifyItems: JustifyItems? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, alignContent: AlignContent? = null, rowGap: CssSize? = null, columnGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit)

Creates a CSS grid container.

Link copied to clipboard
@Composable
fun IComponent.gridPanelRef(gridAutoColumns: String? = null, gridAutoRows: String? = null, gridAutoFlow: GridAutoFlow? = null, gridTemplateColumns: String? = null, gridTemplateRows: String? = null, gridTemplateAreas: List<String>? = null, justifyItems: JustifyItems? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, alignContent: AlignContent? = null, rowGap: CssSize? = null, columnGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit): Div

Creates a CSS grid container, returning a reference.

Link copied to clipboard
@Composable
open override fun gridRow(gridRow: String?)

Set the CSS grid row.

Link copied to clipboard
@Composable
open override fun gridRowEnd(gridRowEnd: String?)

Set the CSS grid row end.

Link copied to clipboard
@Composable
open override fun gridRowStart(gridRowStart: String?)

Set the CSS grid row start.

Link copied to clipboard
@Composable
open override fun gridTemplate(gridTemplate: String?)

Set the CSS grid template.

Link copied to clipboard
@Composable
open override fun gridTemplateAreas(gridTemplateAreas: List<String>?)

Set the CSS grid areas template.

Link copied to clipboard
@Composable
open override fun gridTemplateColumns(gridTemplateColumns: String?)

Set the CSS grid columns template.

Link copied to clipboard
@Composable
open override fun gridTemplateRows(gridTemplateRows: String?)

Set the CSS grid rows template.

Link copied to clipboard
@Composable
open override fun height(height: CssSize?)

Set the height of the current component.

Link copied to clipboard
open fun hide()

Hide the component.

Link copied to clipboard
@Composable
fun IComponent.hPanel(flexWrap: FlexWrap? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, gap: CssSize? = null, rowGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit)

Creates a container with a horizontal layout.

Link copied to clipboard
@Composable
fun IComponent.hPanelRef(flexWrap: FlexWrap? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, gap: CssSize? = null, rowGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit): Div

Creates a container with a horizontal layout, returning a reference.

Link copied to clipboard
@Composable
open override fun id(id: String?)

Sets the ID attribute of the current component.

Link copied to clipboard
@Composable
fun IComponent.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, className: String? = null, id: String? = null, content: @Composable IIframe.() -> Unit = {})

Creates a Iframe component.

Link copied to clipboard
@Composable
fun IComponent.iframeRef(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, className: String? = null, id: String? = null, content: @Composable IIframe.() -> Unit = {}): Iframe

Creates a Iframe component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.img(src: String? = null, alt: String? = null, className: String? = null, id: String? = null, content: @Composable IImg.() -> Unit = {})

Creates a Img component.

Link copied to clipboard
@Composable
fun IComponent.imgRef(src: String? = null, alt: String? = null, className: String? = null, id: String? = null, content: @Composable IImg.() -> Unit = {}): Img

Creates a Img component, returning a reference.

Link copied to clipboard
open override fun installMask()

Install the input mask controller.

Link copied to clipboard
@Composable
open override fun justifyContent(justifyContent: JustifyContent?)

Set the CSS flexbox/grid content justification.

Link copied to clipboard
@Composable
open override fun justifyItems(justifyItems: JustifyItems?)

Set the CSS grid items justification.

Link copied to clipboard
@Composable
open override fun justifySelf(justifySelf: JustifyItems?)

Set the CSS grid items self-justification.

Link copied to clipboard
@Composable
fun IComponent.label(htmlFor: String? = null, className: String? = null, id: String? = null, content: @Composable ILabel.() -> Unit = {})

Creates a Label component.

Link copied to clipboard
@Composable
fun IComponent.labelRef(htmlFor: String? = null, className: String? = null, id: String? = null, content: @Composable ILabel.() -> Unit = {}): Label

Creates a Label component, returning a reference.

Link copied to clipboard
@Composable
open override fun left(left: CssSize?)

Set the left edge of the current component.

Link copied to clipboard
@Composable
open override fun letterSpacing(letterSpacing: CssSize?)

Set the CSS Text letter spacing of the current component.

Link copied to clipboard
@Composable
open override fun lineBreak(lineBreak: LineBreak?)

Set the CSS line break of the current component.

Link copied to clipboard
@Composable
open override fun lineHeight(lineHeight: CssSize?)

Set the CSS Text line height of the current component.

Link copied to clipboard
@Composable
open override fun list(list: String?)

Set the list attribute of the generated HTML input element.

Link copied to clipboard
@Composable
open override fun listStyle(listStyle: ListStyle?)

Set the list style of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.listStyle(type: ListStyleType? = null, position: ListStylePosition? = null, image: String? = null)

Set the list style of the current component.

Link copied to clipboard
@Composable
open override fun margin(margin: CssSize?)

Set the margin of the current component.

Link copied to clipboard
@Composable
open override fun marginBottom(marginBottom: CssSize?)

Set the bottom margin of the current component.

Link copied to clipboard
@Composable
open override fun marginLeft(marginLeft: CssSize?)

Set the left margin of the current component.

Link copied to clipboard
@Composable
open override fun marginRight(marginRight: CssSize?)

Set the right margin of the current component.

Link copied to clipboard
@Composable
open override fun marginTop(marginTop: CssSize?)

Set the top margin of the current component.

Link copied to clipboard
@Composable
open override fun maskOptions(maskOptions: MaskOptions?)

Set the input mask options.

open override fun maskOptions(maskOptionsProducer: () -> MaskOptions??)

Set the input mask options using a producer function.

Link copied to clipboard
@Composable
open override fun max(max: LocalDateTime?)

Set the maximum value of the date and time.

Link copied to clipboard
@Composable
open override fun maxHeight(maxHeight: CssSize?)

Set the maximal height of the current component.

Link copied to clipboard
@Composable
open override fun maxlength(maxlength: Int?)

Set the maxlength attribute of the generated HTML input element.

Link copied to clipboard
@Composable
open override fun maxWidth(maxWidth: CssSize?)

Set the maximal width of the current component.

Link copied to clipboard
@Composable
open override fun min(min: LocalDateTime?)

Set the minimum value of the date and time.

Link copied to clipboard
@Composable
open override fun minHeight(minHeight: CssSize?)

Set the minimal height of the current component.

Link copied to clipboard
@Composable
open override fun minWidth(minWidth: CssSize?)

Set the minimal width of the current component.

Link copied to clipboard
@Composable
open override fun name(name: String?)

Set the name attribute of the generated HTML input element.

Link copied to clipboard
@Composable
fun IComponent.numeric(value: Number? = null, min: Number? = null, max: Number? = null, decimals: Int = NUMERIC_DEFAULT_DECIMALS, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, locale: Locale = LocaleManager.currentLocale, className: String? = null, id: String? = null, setup: @Composable INumeric.() -> Unit = {})

Creates a Numeric component.

Link copied to clipboard
@Composable
fun IComponent.numericRef(value: Number? = null, min: Number? = null, max: Number? = null, decimals: Int = NUMERIC_DEFAULT_DECIMALS, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, locale: Locale = LocaleManager.currentLocale, className: String? = null, id: String? = null, setup: @Composable INumeric.() -> Unit = {}): Numeric

Creates a Numeric component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.ol(type: OlType? = null, start: Int? = null, className: String? = null, id: String? = null, content: @Composable IOl.() -> Unit = {})

Creates a Ol component.

Link copied to clipboard
@Composable
fun IComponent.olRef(type: OlType? = null, start: Int? = null, className: String? = null, id: String? = null, content: @Composable IOl.() -> Unit = {}): Ol

Creates a Ol component, returninig a reference.

Link copied to clipboard
@Composable
open override fun onBlur(listener: (FocusEvent) -> Unit): Int

Add blur event listener (composable).

Link copied to clipboard
open override fun onBlurDirect(listener: (FocusEvent) -> Unit): Int

Add blur event listener (not composable).

Link copied to clipboard
@Composable
open override fun onChange(listener: (Event) -> Unit): Int

Add change event listener (composable).

Link copied to clipboard
open override fun onChangeDirect(listener: (Event) -> Unit): Int

Add change event listener (not composable).

Link copied to clipboard
@Composable
open override fun onClick(listener: (MouseEvent) -> Unit): Int

Add click event listener (composable).

Link copied to clipboard
open override fun onClickDirect(listener: (MouseEvent) -> Unit): Int

Add click event listener (not composable).

Link copied to clipboard
@Composable
fun TagEvents.onCombineClick(onLongClick: () -> Unit? = null, onDoubleClick: () -> Unit? = null, onClick: () -> Unit)

A Composable function that handles click, double-click, and long click events for a component. It combines multiple input events such as mouse and touch events to trigger the respective actions based on the user's interaction.

Link copied to clipboard
@Composable
open override fun onContextmenu(listener: (MouseEvent) -> Unit): Int

Add context menu event listener (composable).

Link copied to clipboard
open override fun onContextmenuDirect(listener: (MouseEvent) -> Unit): Int

Add context menu event listener (not composable).

Link copied to clipboard
@Composable
open override fun onDblclick(listener: (MouseEvent) -> Unit): Int

Add double click event listener (composable).

Link copied to clipboard
open override fun onDblclickDirect(listener: (MouseEvent) -> Unit): Int

Add double click event listener (not composable).

Link copied to clipboard
@Composable
open override fun <EV : Event> onEvent(name: String, listener: (EV) -> Unit): Int

Add event listener by event name (composable).

Link copied to clipboard
open override fun <EV : Event> onEventDirect(name: String, listener: (EV) -> Unit): Int

Add event listener by event name (not composable).

Link copied to clipboard
@Composable
open override fun onFocus(listener: (FocusEvent) -> Unit): Int

Add focus event listener (composable).

Link copied to clipboard
open override fun onFocusDirect(listener: (FocusEvent) -> Unit): Int

Add focus event listener (not composable).

Link copied to clipboard
@Composable
open override fun onInput(listener: (InputEvent) -> Unit): Int

Add input event listener (composable).

Link copied to clipboard
open override fun onInputDirect(listener: (InputEvent) -> Unit): Int

Add input event listener (not composable).

Link copied to clipboard
open fun onInsert()

Function called after the component is inserted in the composition.

Link copied to clipboard
@Composable
open override fun onKeydown(listener: (KeyboardEvent) -> Unit): Int

Add key down event listener (composable).

Link copied to clipboard
open override fun onKeydownDirect(listener: (KeyboardEvent) -> Unit): Int

Add key down event listener (not composable).

Link copied to clipboard
@Composable
open override fun onKeypress(listener: (KeyboardEvent) -> Unit): Int

Add key press event listener (composable).

Link copied to clipboard
open override fun onKeypressDirect(listener: (KeyboardEvent) -> Unit): Int

Add key press event listener (not composable).

Link copied to clipboard
@Composable
open override fun onKeyup(listener: (KeyboardEvent) -> Unit): Int

Add key up event listener (composable).

Link copied to clipboard
open override fun onKeyupDirect(listener: (KeyboardEvent) -> Unit): Int

Add key up event listener (not composable).

Link copied to clipboard
@Composable
open override fun onMouseDown(listener: (MouseEvent) -> Unit): Int

Add mouse down event listener (composable).

Link copied to clipboard
open override fun onMouseDownDirect(listener: (MouseEvent) -> Unit): Int

Add mouse down event listener (not composable).

Link copied to clipboard
@Composable
open override fun onMouseEnter(listener: (MouseEvent) -> Unit): Int

Add mouse enter event listener (composable).

Link copied to clipboard
open override fun onMouseEnterDirect(listener: (MouseEvent) -> Unit): Int

Add mouse enter event listener (not composable).

Link copied to clipboard
@Composable
open override fun onMouseLeave(listener: (MouseEvent) -> Unit): Int

Add mouse leave event listener (composable).

Link copied to clipboard
open override fun onMouseLeaveDirect(listener: (MouseEvent) -> Unit): Int

Add mouse leave event listener (not composable).

Link copied to clipboard
@Composable
open override fun onMouseMove(listener: (MouseEvent) -> Unit): Int

Add mouse move event listener (composable).

Link copied to clipboard
open override fun onMouseMoveDirect(listener: (MouseEvent) -> Unit): Int

Add mouse move event listener (not composable).

Link copied to clipboard
@Composable
open override fun onMouseOut(listener: (MouseEvent) -> Unit): Int

Add mouse out event listener (composable).

Link copied to clipboard
open override fun onMouseOutDirect(listener: (MouseEvent) -> Unit): Int

Add mouse out event listener (not composable).

Link copied to clipboard
@Composable
open override fun onMouseOver(listener: (MouseEvent) -> Unit): Int

Add mouse over event listener (composable).

Link copied to clipboard
open override fun onMouseOverDirect(listener: (MouseEvent) -> Unit): Int

Add mouse over event listener (not composable).

Link copied to clipboard
@Composable
open override fun onMouseUp(listener: (MouseEvent) -> Unit): Int

Add mouse up event listener (composable).

Link copied to clipboard
open override fun onMouseUpDirect(listener: (MouseEvent) -> Unit): Int

Add mouse up event listener (not composable).

Link copied to clipboard
@Composable
open override fun onPointerDown(listener: (PointerEvent) -> Unit): Int

Add pointer down event listener (composable).

Link copied to clipboard
open override fun onPointerDownDirect(listener: (PointerEvent) -> Unit): Int

Add pointer down event listener (not composable).

Link copied to clipboard
@Composable
open override fun onPointerUp(listener: (PointerEvent) -> Unit): Int

Add pointer up event listener (composable).

Link copied to clipboard
open override fun onPointerUpDirect(listener: (PointerEvent) -> Unit): Int

Add pointer up event listener (not composable).

Link copied to clipboard
open fun onRemove()

Function called after the component is removed from the composition.

Link copied to clipboard
@Composable
open override fun onTouchCancel(listener: (TouchEvent) -> Unit): Int

Add touch cancel event listener (composable).

Link copied to clipboard
open override fun onTouchCancelDirect(listener: (TouchEvent) -> Unit): Int

Add touch cancel event listener (not composable).

Link copied to clipboard
@Composable
open override fun onTouchEnd(listener: (TouchEvent) -> Unit): Int

Add touch end event listener (composable).

Link copied to clipboard
open override fun onTouchEndDirect(listener: (TouchEvent) -> Unit): Int

Add touch end event listener (not composable).

Link copied to clipboard
@Composable
open override fun onTouchStart(listener: (TouchEvent) -> Unit): Int

Add touch start event listener (composable).

Link copied to clipboard
open override fun onTouchStartDirect(listener: (TouchEvent) -> Unit): Int

Add touch start event listener (not composable).

Link copied to clipboard
@Composable
open override fun opacity(opacity: Double?)

Set the opacity of the current component.

Link copied to clipboard
@Composable
fun IComponent.optgroup(label: String? = null, disabled: Boolean? = null, className: String? = null, id: String? = null, content: @Composable IOptgroup.() -> Unit = {})

Creates a Optgroup component.

Link copied to clipboard
@Composable
fun IComponent.optgroupRef(label: String? = null, disabled: Boolean? = null, className: String? = null, id: String? = null, content: @Composable IOptgroup.() -> Unit = {}): Optgroup

Creates a Optgroup component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.option(value: String? = null, label: String? = null, selected: Boolean? = null, disabled: Boolean? = null, className: String? = null, id: String? = null, content: @Composable IOption.() -> Unit = {})

Creates an Option component.

Link copied to clipboard
@Composable
fun IComponent.optionRef(value: String? = null, label: String? = null, selected: Boolean? = null, disabled: Boolean? = null, className: String? = null, id: String? = null, content: @Composable IOption.() -> Unit = {}): Option

Creates an Option component, returning a reference.

Link copied to clipboard
@Composable
open override fun order(order: Int?)

Set the CSS flexbox item order.

Link copied to clipboard
@Composable
open override fun outline(outline: Outline?)

Set the outline of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.outline(width: CssSize? = null, style: OutlineStyle? = null, color: Color? = null)

Set the outline of the current component.

Link copied to clipboard
@Composable
open override fun overflow(overflow: Overflow?)

Set the CSS overflow of the current component.

Link copied to clipboard
@Composable
open override fun overflowWrap(overflowWrap: OverflowWrap?)

Set the CSS overflow-wrap of the current component.

Link copied to clipboard
@Composable
open override fun overflowX(overflowX: Overflow?)

Set the CSS overflow-x of the current component.

Link copied to clipboard
@Composable
open override fun overflowY(overflowY: Overflow?)

Set the CSS overflow-y of the current component.

Link copied to clipboard
@Composable
open override fun padding(padding: CssSize?)

Set the padding of the current component.

Link copied to clipboard
@Composable
open override fun paddingBottom(paddingBottom: CssSize?)

Set the bottom padding of the current component.

Link copied to clipboard
@Composable
open override fun paddingLeft(paddingLeft: CssSize?)

Set the left padding of the current component.

Link copied to clipboard
@Composable
open override fun paddingRight(paddingRight: CssSize?)

Set the right padding of the current component.

Link copied to clipboard
@Composable
open override fun paddingTop(paddingTop: CssSize?)

Set the top padding of the current component.

Link copied to clipboard
@Composable
fun IComponent.password(value: String? = null, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IText.() -> Unit = {})

Creates Text component with password input type.

Link copied to clipboard
@Composable
fun IComponent.passwordRef(value: String? = null, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IText.() -> Unit = {}): Text

Creates Text component with password input type, returning a reference.

Link copied to clipboard
@Composable
open override fun placeholder(placeholder: String?)

Set the placeholder attribute of the generated HTML input element.

Link copied to clipboard
@Composable
open override fun position(position: Position?)

Set the CSS position of the current component.

Link copied to clipboard
@Composable
fun IComponent.radio(value: Boolean = false, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IRadio.() -> Unit = {})

Creates Radio component.

Link copied to clipboard
@Composable
fun IComponent.radioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, groupClassName: String? = null, inputClassName: String? = null, labelClassName: String? = null, addon: @Composable IComponent.(Int, StringPair, String) -> Unit? = null, className: String? = null, id: String? = null, setup: @Composable IRadioGroup.() -> Unit = {})

Creates RadioGroup component.

Link copied to clipboard
@Composable
fun IComponent.radioGroupRef(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, groupClassName: String? = null, inputClassName: String? = null, labelClassName: String? = null, addon: @Composable IComponent.(Int, StringPair, String) -> Unit? = null, className: String? = null, id: String? = null, setup: @Composable IRadioGroup.() -> Unit = {}): RadioGroup

Creates RadioGroup component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.radioRef(value: Boolean = false, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IRadio.() -> Unit = {}): Radio

Creates Radio component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.range(value: Number? = null, min: Number = RANGE_DEFAULT_MIN, max: Number = RANGE_DEFAULT_MAX, step: Number = RANGE_DEFAULT_STEP, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IRange.() -> Unit = {})

Creates a Range component.

Link copied to clipboard
@Composable
fun IComponent.rangeRef(value: Number? = null, min: Number = RANGE_DEFAULT_MIN, max: Number = RANGE_DEFAULT_MAX, step: Number = RANGE_DEFAULT_STEP, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IRange.() -> Unit = {}): Range

Creates a Range component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.rawHtml(rawHtml: String, setup: @Composable IRawHtml.() -> Unit = {})

Creates a RawHtml component.

Link copied to clipboard
@Composable
fun IComponent.rawHtmlBlock(rawHtml: String, setup: @Composable IRawHtmlBlock.() -> Unit = {})

Creates a RawHtmlBlock component.

Link copied to clipboard
@Composable
open override fun readonly(readonly: Boolean?)

Set the readonly attribute of the generated HTML input element.

Link copied to clipboard
@Composable
fun TagEvents.rememberIsHoveredAsState(): State<Boolean>

A Composable function that creates and remembers the hover state of a component. It tracks whether the component is being hovered over using mouse events.

Link copied to clipboard
@Composable
fun TagEvents.rememberIsPressedAsState(): State<Boolean>

A Composable function that creates and remembers the pressed state of a component. It tracks whether the component is being pressed using pointer events.

Link copied to clipboard
open override fun removeAttribute(name: String)

Remove attribute with the given name.

Link copied to clipboard
open override fun removeEventListener(name: String, id: Int? = null)

Remove event listener by event name and ID.

Link copied to clipboard
open override fun removeStyle(name: String)

Remove CSS style with the given name.

Link copied to clipboard

Render the component to string.

Link copied to clipboard
open override fun renderToStringBuilder(builder: StringBuilder)

Render the component to the given builder.

Link copied to clipboard
@Composable
open override fun required(required: Boolean?)

Set the required attribute of the generated HTML input element.

Link copied to clipboard
@Composable
open override fun resize(resize: Resize?)

Set the CSS resize of the current component.

Link copied to clipboard
@Composable
open override fun right(right: CssSize?)

Set the right edge of the current component.

Link copied to clipboard
@Composable
open override fun role(role: String?)

Set the role attribute.

Link copied to clipboard
@Composable
open override fun rowGap(rowGap: CssSize?)

Set the CSS grid/flex row gap.

Link copied to clipboard
@Composable
fun IComponent.select(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, size: Int? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ISelect.() -> Unit = {})

Creates Select component.

Link copied to clipboard
@Composable
fun IComponent.selectRef(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, size: Int? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ISelect.() -> Unit = {}): Select

Creates Select component, returning a reference.

Link copied to clipboard
open override fun setAttribute(name: String, value: String?)

Set value for a given attribute name.

Link copied to clipboard
@Composable
open override fun setDragDropData(format: String, data: String)

Sets D&D data for the current widget. It also makes it draggable.

Link copied to clipboard
@Composable
open override fun setDropTarget(callback: (DragEvent) -> Unit)
@Composable
open override fun setDropTarget(format: String, callback: (DragEvent) -> Unit)
@Composable
open override fun setDropTarget(formats: Set<String>?, callback: (DragEvent) -> Unit)

Sets the current component as a D&D drop target.

Link copied to clipboard
@Composable
open override fun setDropTargetData(format: String, callback: (String?) -> Unit)

Sets the current component as a D&D drop target with helper callback accepting String data.

Link copied to clipboard
open override fun setStyle(name: String, value: String?)

Set value for a given CSS style name.

Link copied to clipboard
open fun setValue(value: Any?)

Sets the value of the form control.

Link copied to clipboard
open fun show()

Show the component.

Link copied to clipboard
@Composable
fun IComponent.spinner(value: Int? = null, min: Int? = null, max: Int? = null, step: Int = SPINNER_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ISpinner.() -> Unit = {})

Creates a Spinner component.

Link copied to clipboard
@Composable
fun IComponent.spinnerRef(value: Int? = null, min: Int? = null, max: Int? = null, step: Int = SPINNER_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ISpinner.() -> Unit = {}): Spinner

Creates a Spinner component, returning a reference.

Link copied to clipboard
@Composable
open override fun step(step: Int)

Set the step value of the date and time.

Link copied to clipboard
open override fun stepDown()

Decrements the value by the step value.

Link copied to clipboard
open override fun stepUp()

Increments the value by the step value.

Link copied to clipboard
@Composable
open override fun style(name: String, value: String?)

Set value for the given CSS style.

Link copied to clipboard
@Composable
fun <E : HTMLElement> ITag<E>.style(selector: String? = null, pClass: PClass? = null, pElement: PElement? = null, mediaQuery: String? = null, content: @Composable CssStyle.() -> Unit = {}): String

Declares a CSS rule and applies it to the enclosing component. Returns the selector.

Link copied to clipboard
@Composable
open override fun tabindex(tabindex: Int?)

Set the tabindex attribute.

Link copied to clipboard
@Composable
fun <E : HTMLElement> IComponent.tag(tagName: String, className: String? = null, id: String? = null, namespace: String? = null, content: @Composable ITag<E>.() -> Unit = {})

Creates a Tag component with given DOM element type.

@Composable
fun IComponent.tag(tagName: String, className: String? = null, id: String? = null, namespace: String? = null, content: @Composable ITag<HTMLElement>.() -> Unit = {})

Creates a Tag component with HTMLElement type.

Link copied to clipboard
@Composable
fun <E : HTMLElement> IComponent.tagRef(tagName: String, className: String? = null, id: String? = null, namespace: String? = null, content: @Composable ITag<E>.() -> Unit = {}): Tag<E>

Creates a Tag component with given DOM element type, returning a reference.

@Composable
fun IComponent.tagRef(tagName: String, className: String? = null, id: String? = null, namespace: String? = null, content: @Composable ITag<HTMLElement>.() -> Unit = {}): Tag<HTMLElement>

Creates a Tag component with HTMLElement type, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.td(colspan: Int? = null, rowspan: Int? = null, className: String? = null, id: String? = null, content: @Composable ITd.() -> Unit = {})

Creates a Td component.

Link copied to clipboard
@Composable
fun IComponent.tdRef(colspan: Int? = null, rowspan: Int? = null, className: String? = null, id: String? = null, content: @Composable ITd.() -> Unit = {}): Td

Creates a Td component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.tdt(text: String, colspan: Int? = null, rowspan: Int? = null, className: String? = null, id: String? = null, content: @Composable ITd.() -> Unit = {})

Creates a Td component with text.

Link copied to clipboard
@Composable
fun IComponent.tdtRef(text: String, colspan: Int? = null, rowspan: Int? = null, className: String? = null, id: String? = null, content: @Composable ITd.() -> Unit = {}): Td

Creates a Td component with text, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.text(value: String? = null, type: InputType = InputType.Text, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IText.() -> Unit = {})

Creates Text component.

Link copied to clipboard
@Composable
open override fun textAlign(textAlign: TextAlign?)

Set the CSS Text align of the current component.

Link copied to clipboard
@Composable
fun IComponent.textArea(value: String? = null, cols: Int? = null, rows: Int? = null, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITextArea.() -> Unit = {})

Creates a TextArea component.

Link copied to clipboard
@Composable
fun IComponent.textAreaRef(value: String? = null, cols: Int? = null, rows: Int? = null, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITextArea.() -> Unit = {}): TextArea

Creates a TextArea component, returnig a reference.

Link copied to clipboard
@Composable
open override fun textDecoration(textDecoration: TextDecoration?)

Set the CSS Text decoration of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.textDecoration(line: TextDecorationLine? = null, style: TextDecorationStyle? = null, color: Color? = null)

Set the CSS Text decoration of the current component.

Link copied to clipboard
@Composable
open override fun textIndent(textIndent: CssSize?)

Set the CSS Text indent of the current component.

Link copied to clipboard
@Composable
fun IComponent.textNode(data: String)

Creates a TextNode component.

Link copied to clipboard
@Composable
open override fun textOverflow(textOverflow: TextOverflow?)

Set the CSS Text overflow of the current component.

Link copied to clipboard
@Composable
fun IComponent.textRef(value: String? = null, type: InputType = InputType.Text, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IText.() -> Unit = {}): Text

Creates Text component, returning a reference.

Link copied to clipboard
@Composable
open override fun textShadow(textShadow: TextShadow?)

Set the CSS Text shadow of the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.textShadow(hShadow: CssSize? = null, vShadow: CssSize? = null, blurRadius: CssSize? = null, color: Color? = null)

Set the CSS Text shadow of the current component.

Link copied to clipboard
@Composable
open override fun textTransform(textTransform: TextTransform?)

Set the CSS Text transform of the current component.

Link copied to clipboard
@Composable
fun IComponent.th(colspan: Int? = null, rowspan: Int? = null, scope: ThScope? = null, className: String? = null, id: String? = null, content: @Composable ITh.() -> Unit = {})

Creates a Th component.

Link copied to clipboard
@Composable
fun IComponent.thRef(colspan: Int? = null, rowspan: Int? = null, scope: ThScope? = null, className: String? = null, id: String? = null, content: @Composable ITh.() -> Unit = {}): Th

Creates a Th component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.tht(text: String, colspan: Int? = null, rowspan: Int? = null, scope: ThScope? = null, className: String? = null, id: String? = null, content: @Composable ITh.() -> Unit = {})

Creates a Th component with text.

Link copied to clipboard
@Composable
fun IComponent.thtRef(text: String, colspan: Int? = null, rowspan: Int? = null, scope: ThScope? = null, className: String? = null, id: String? = null, content: @Composable ITh.() -> Unit = {}): Th

Creates a Th component with text, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.time(value: LocalTime? = null, min: LocalTime? = null, max: LocalTime? = null, step: Int = TIME_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITime.() -> Unit = {})

Creates a Time component.

Link copied to clipboard
@Composable
fun IComponent.timeRef(value: LocalTime? = null, min: LocalTime? = null, max: LocalTime? = null, step: Int = TIME_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITime.() -> Unit = {}): Time

Creates a Time component, returning a reference.

Link copied to clipboard
@Composable
open override fun title(title: String?)

Set the title attribute.

Link copied to clipboard
open fun toggle()

Toggle the component visibility.

Link copied to clipboard
@Composable
open override fun top(top: CssSize?)

Set the top edge of the current component.

Link copied to clipboard
@Composable
open override fun transition(transition: Transition?)

Set the CSS transition effect for the current component.

Link copied to clipboard
@Composable
fun TagStyleFun.transition(property: String? = null, duration: Duration? = null, timingFunction: String? = null, delay: Duration? = null)

Set the CSS transition effect for the current component.

Link copied to clipboard
@Composable
open override fun transitionList(transitionList: List<Transition>?)

Set the list of CSS transition effects for the current component.

Link copied to clipboard
@Composable
fun IComponent.triStateCheckBox(value: Boolean? = null, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITriStateCheckBox.() -> Unit = {})

Creates TriStateCheckBox component.

Link copied to clipboard
@Composable
fun IComponent.triStateCheckBoxRef(value: Boolean? = null, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITriStateCheckBox.() -> Unit = {}): TriStateCheckBox

Creates TriStateCheckBox component, returning a reference.

Link copied to clipboard
@Composable
open override fun type(type: InputType)

Set the type attribute of the generated HTML input element.

Link copied to clipboard
@Composable
open operator fun String.unaryPlus()

Creates a TextNode component with unary + operator.

@Composable
open operator fun ModifierBase.unaryPlus()

Use the modifier for the current tag.

Link copied to clipboard
@Composable
open override fun unicodeBidi(unicodeBidi: UnicodeBidi?)

Set the CSS Text unicode-bidi of the current component.

Link copied to clipboard
open override fun uninstallMask()

Uninstall the input mask controller.

Link copied to clipboard
fun <T> updateProperty(property: String, value: T)
fun <T> updateProperty(property: KProperty<*>, value: T)

Update the value of the property with lower priority (called by the compose runtime).

Link copied to clipboard
@Composable
fun IComponent.upload(multiple: Boolean = false, accept: List<String>? = null, capture: Capture? = null, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IUpload.() -> Unit = {})

Creates Upload component.

Link copied to clipboard
@Composable
fun IComponent.uploadRef(multiple: Boolean = false, accept: List<String>? = null, capture: Capture? = null, name: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IUpload.() -> Unit = {}): Upload

Creates Upload component, returning a reference.

Link copied to clipboard
@Composable
open override fun verticalAlign(verticalAlign: VerticalAlign?)

Set the CSS Text vertical align of the current component.

Link copied to clipboard
@Composable
open override fun visibility(visibility: Visibility?)

Set the CSS visibility of the current component.

Link copied to clipboard
@Composable
open override fun visible(visible: Boolean)

Sets the visibility of the current component.

Link copied to clipboard
@Composable
fun IComponent.vPanel(flexWrap: FlexWrap? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, gap: CssSize? = null, columnGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit)

Creates a container with a vertical layout.

Link copied to clipboard
@Composable
fun IComponent.vPanelRef(flexWrap: FlexWrap? = null, justifyContent: JustifyContent? = null, alignItems: AlignItems? = null, gap: CssSize? = null, columnGap: CssSize? = null, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit): Div

Creates a container with a vertical layout, returning a reference.

Link copied to clipboard
@Composable
open override fun whiteSpace(whiteSpace: WhiteSpace?)

Set the CSS Text white space of the current component.

Link copied to clipboard
@Composable
open override fun width(width: CssSize?)

Set the width of the current component.

Link copied to clipboard
@Composable
open override fun wordBreak(wordBreak: WordBreak?)

Set the CSS word break of the current component.

Link copied to clipboard
@Composable
open override fun wordSpacing(wordSpacing: CssSize?)

Set the CSS Text word spacing of the current component.

Link copied to clipboard
@Composable
open override fun zIndex(zIndex: Int?)

Set the Z-index of the current component.