CommentNode

open class CommentNode(data: String, renderConfig: RenderConfig = RenderConfig.Default) : ComponentBase(source)

HTML comment node component.

Constructors

Link copied to clipboard
constructor(data: String, renderConfig: RenderConfig = RenderConfig.Default)

Properties

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

List of child components.

Link copied to clipboard
open val comment: Comment

The DOM comment node.

Link copied to clipboard
open override val componentId: Int

Unique component id.

Link copied to clipboard
open var data: String

The text of the node.

Link copied to clipboard
open val innerHTML: String

Render children components to a string.

Link copied to clipboard
val node: Node
Link copied to clipboard
open override var parent: Component?

Parent component.

Link copied to clipboard
open override val renderConfig: RenderConfig

Render configuration.

Link copied to clipboard
open override var visible: Boolean

Component visibility.

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
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
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
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
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
fun IComponent.commentNode(data: String)

Creates a CommentNode 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
open fun dispatchEvent(type: String, eventInitDict: CustomEventInit<*>): Boolean

Dispatches a custom event.

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
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
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
@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
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
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
@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
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
open fun onInsert()

Function called after the component is inserted in the composition.

Link copied to clipboard
open fun onRemove()

Function called after the component is removed from the composition.

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
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
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

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
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 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
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
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
fun IComponent.textNode(data: String)

Creates a TextNode 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
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
open fun toggle()

Toggle the component visibility.

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 operator fun String.unaryPlus()

Creates a TextNode component with unary + operator.

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 visible(visible: Boolean)
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.