Tag

interface Tag<out E : Element> : RenderContext, WithDomNode<E> , WithEvents<E>

Represents a tag. Sorry for the name, but we needed to delimit it from the Element it is wrapping.

Inheritors

Properties

Link copied to clipboard
open val aborts: Listener<Event, E>

occurs when the loading of a media is aborted

Link copied to clipboard

occurs when the loading of a media is aborted

Link copied to clipboard

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
abstract val annex: RenderContext

provides RenderContext next to this Tag on the same DOM-level.

Link copied to clipboard
abstract val baseClass: String?

constant css-classes of this Tag

Link copied to clipboard

occurs when a page is about to be printed

Link copied to clipboard

occurs when a page is about to be printed

Link copied to clipboard

occurs before the document is about to be unloaded

Link copied to clipboard

occurs before the document is about to be unloaded

Link copied to clipboard

occurs when an element loses focus

Link copied to clipboard

occurs when an element loses focus

Link copied to clipboard
open val canplays: Listener<Event, E>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open val changes: Listener<Event, E>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard

occurs when the user clicks on an element

Link copied to clipboard

occurs when the user clicks on an element

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard

occurs when the user cuts the content of an element

Link copied to clipboard

occurs when the user cuts the content of an element

Link copied to clipboard

occurs when the user double-clicks on an element

Link copied to clipboard

occurs when the user double-clicks on an element

Link copied to clipboard
abstract val domNode: E

the wrapped Node

Link copied to clipboard

occurs when the user has finished dragging an element

Link copied to clipboard

occurs when the user has finished dragging an element

Link copied to clipboard

occurs when the dragged element enters the drop target

Link copied to clipboard

occurs when the dragged element enters the drop target

Link copied to clipboard

occurs when the dragged element leaves the drop target

Link copied to clipboard

occurs when the dragged element leaves the drop target

Link copied to clipboard

occurs when the dragged element is over the drop target

Link copied to clipboard

occurs when the dragged element is over the drop target

Link copied to clipboard

occurs when an element is being dragged

Link copied to clipboard

occurs when an element is being dragged

Link copied to clipboard

occurs when the user starts to drag an element

Link copied to clipboard

occurs when the user starts to drag an element

Link copied to clipboard

occurs when the dragged element is dropped on the drop target

Link copied to clipboard

occurs when the dragged element is dropped on the drop target

Link copied to clipboard

occurs when the duration of the media is changed

Link copied to clipboard

occurs when the duration of the media is changed

Link copied to clipboard
open val endeds: Listener<Event, E>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard

occurs when an element is about to get focus

Link copied to clipboard

occurs when an element is about to get focus

Link copied to clipboard

occurs when an element is about to lose focus

Link copied to clipboard

occurs when an element is about to lose focus

Link copied to clipboard

occurs when an element gets focus

Link copied to clipboard

occurs when an element gets focus

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard
abstract val id: String?

id of this Tag

Link copied to clipboard
open val inputs: Listener<Event, E>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open val invalids: Listener<Event, E>

occurs when an element is invalid

Link copied to clipboard

occurs when an element is invalid

Link copied to clipboard
abstract val job: Job

Job for launching coroutines in.

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard

occurs when the user releases a key

Link copied to clipboard

occurs when the user releases a key

Link copied to clipboard

occurs when media data is loaded

Link copied to clipboard

occurs when media data is loaded

Link copied to clipboard

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open val loads: Listener<Event, E>

occurs when an object has loaded

Link copied to clipboard

occurs when an object has loaded

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard
open val messages: Listener<Event, E>

occurs when a message is received through the event source

Link copied to clipboard

occurs when a message is received through the event source

Link copied to clipboard

occurs when the user presses a mouse button over an element

Link copied to clipboard

occurs when the user presses a mouse button over an element

Link copied to clipboard

occurs when the pointer is moved onto an element

Link copied to clipboard

occurs when the pointer is moved onto an element

Link copied to clipboard

occurs when the pointer is moved out of an element

Link copied to clipboard

occurs when the pointer is moved out of an element

Link copied to clipboard

occurs when the pointer is moving while it is over an element

Link copied to clipboard

occurs when the pointer is moving while it is over an element

Link copied to clipboard

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard

occurs when a user releases a mouse button over an element

Link copied to clipboard

occurs when a user releases a mouse button over an element

Link copied to clipboard
open val offlines: Listener<Event, E>

occurs when the browser starts to work offline

Link copied to clipboard

occurs when the browser starts to work offline

Link copied to clipboard
open val onlines: Listener<Event, E>

occurs when the browser starts to work online

Link copied to clipboard

occurs when the browser starts to work online

Link copied to clipboard
open val opens: Listener<Event, E>

occurs when a connection with the event source is opened

Link copied to clipboard

occurs when a connection with the event source is opened

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard
open val pauses: Listener<Event, E>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open val playings: Listener<Event, E>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open val plays: Listener<Event, E>

occurs when the media has been started or is no longer paused

Link copied to clipboard

occurs when the media has been started or is no longer paused

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard

occurs when the playing speed of the media is changed

Link copied to clipboard

occurs when the playing speed of the media is changed

Link copied to clipboard
open val resets: Listener<Event, E>

occurs when a form is reset

Link copied to clipboard

occurs when a form is reset

Link copied to clipboard
open val resizes: Listener<Event, E>

occurs when the document view is resized

Link copied to clipboard

occurs when the document view is resized

Link copied to clipboard
abstract val scope: Scope
Link copied to clipboard
open val scrolls: Listener<Event, E>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open val searchs: Listener<Event, E>

occurs when the user writes something in a search field (for )

Link copied to clipboard

occurs when the user writes something in a search field (for )

Link copied to clipboard
open val seekeds: Listener<Event, E>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open val seekings: Listener<Event, E>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open val selects: Listener<Event, E>

occurs after the user selects some text (for and

Link copied to clipboard

occurs after the user selects some text (for and

Link copied to clipboard
open val shows: Listener<Event, E>

occurs when a

element is shown as a context menu

Link copied to clipboard

occurs when a

element is shown as a context menu

Link copied to clipboard
open val stalleds: Listener<Event, E>

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard

occurs when a Web Storage area is updated

Link copied to clipboard

occurs when a Web Storage area is updated

Link copied to clipboard
open val submits: Listener<Event, E>

occurs when a form is submitted

Link copied to clipboard

occurs when a form is submitted

Link copied to clipboard
open val suspends: Listener<Event, E>

occurs when the browser is intentionally not getting media data

Link copied to clipboard

occurs when the browser is intentionally not getting media data

Link copied to clipboard

occurs when the playing position has changed (like when the user fast forwards to a different point in the media)

Link copied to clipboard

occurs when the playing position has changed (like when the user fast forwards to a different point in the media)

Link copied to clipboard
open val toggles: Listener<Event, E>

occurs when the user opens or closes the

element

Link copied to clipboard

occurs when the user opens or closes the

element

Link copied to clipboard

occurs when the touch is interrupted

Link copied to clipboard

occurs when the touch is interrupted

Link copied to clipboard

occurs when a finger is removed from a touch screen

Link copied to clipboard

occurs when a finger is removed from a touch screen

Link copied to clipboard

occurs when a finger is dragged across the screen

Link copied to clipboard

occurs when a finger is dragged across the screen

Link copied to clipboard

occurs when a finger is placed on a touch screen

Link copied to clipboard

occurs when a finger is placed on a touch screen

Link copied to clipboard
open val unloads: Listener<Event, E>

occurs once a page has unloaded (for )

Link copied to clipboard

occurs once a page has unloaded (for )

Link copied to clipboard

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard
open val waitings: Listener<Event, E>

occurs when the media has paused but is expected to resume (like when the media pauses to buffer more data)

Link copied to clipboard

occurs when the media has paused but is expected to resume (like when the media pauses to buffer more data)

Link copied to clipboard

occurs when the mouse wheel rolls up or down over an element

Link copied to clipboard

occurs when the mouse wheel rolls up or down over an element

Functions

Link copied to clipboard
open fun a(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLAnchorElement>.() -> Unit): HtmlTag<HTMLAnchorElement>
Link copied to clipboard
open fun abbr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun address(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
fun <T : Element> Tag<T>.afterMount(payload: Any? = null, handler: DomLifecycleHandler)

Convenience method to register lifecycle handler for after a Tag is mounted

Link copied to clipboard
fun Tag<HTMLAppletElement>.align(value: Flow<String>)
fun Tag<HTMLDivElement>.align(value: Flow<String>)
fun Tag<HTMLEmbedElement>.align(value: Flow<String>)
fun Tag<HTMLHRElement>.align(value: Flow<String>)
fun Tag<HTMLHeadingElement>.align(value: Flow<String>)
fun Tag<HTMLIFrameElement>.align(value: Flow<String>)
fun Tag<HTMLImageElement>.align(value: Flow<String>)
fun Tag<HTMLInputElement>.align(value: Flow<String>)
fun Tag<HTMLLegendElement>.align(value: Flow<String>)
fun Tag<HTMLObjectElement>.align(value: Flow<String>)
fun Tag<HTMLTableColElement>.align(value: Flow<String>)
fun Tag<HTMLTableElement>.align(value: Flow<String>)
fun Tag<HTMLTableRowElement>.align(value: Flow<String>)
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLIFrameElement>.allowFullscreen(value: Boolean, trueValue: String = "")
fun Tag<HTMLIFrameElement>.allowFullscreen(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLIFrameElement>.allowUserMedia(value: Boolean, trueValue: String = "")
fun Tag<HTMLIFrameElement>.allowUserMedia(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLAppletElement>.alt(value: Flow<String>)
fun Tag<HTMLAreaElement>.alt(value: Flow<String>)
fun Tag<HTMLImageElement>.alt(value: Flow<String>)
fun Tag<HTMLInputElement>.alt(value: Flow<String>)
Link copied to clipboard
Link copied to clipboard
open fun area(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLAreaElement>.() -> Unit): HtmlTag<HTMLAreaElement>
Link copied to clipboard
open fun article(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
open fun Scope.asDataAttr()

Sets all scope-entries as data-attributes to the element.

open fun <T : Any> Scope.asDataAttr(key: Scope.Key<T>)

Sets scope-entry for the given key as data-attribute to the element when available.

Link copied to clipboard
open fun aside(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun <T> Flow<T>.asString(): Flow<String>

Converts the content of a Flow to String by using toString method.

Link copied to clipboard
fun Tag<HTMLScriptElement>.async(value: Boolean, trueValue: String = "")
fun Tag<HTMLScriptElement>.async(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun <T> attr(name: String, value: T)
open fun attr(name: String, value: String)
open fun <T> attr(name: String, value: Flow<T>)
open fun attr(name: String, value: Flow<String>)

Sets an attribute.

open fun attr(name: String, value: String?)

Sets an attribute only if its value is not null.

open fun attr(name: String, value: Flow<String?>)

Sets an attribute only for all none null values of the flow.

open fun attr(name: String, value: Boolean, trueValue: String = "")
open fun attr(name: String, value: Boolean?, trueValue: String = "")
open fun attr(name: String, value: Flow<Boolean?>, trueValue: String = "")
open fun attr(name: String, value: Flow<Boolean>, trueValue: String = "")

Sets an attribute when value is true otherwise removes it.

Link copied to clipboard
open fun audio(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLAudioElement>.() -> Unit): HtmlTag<HTMLAudioElement>
Link copied to clipboard
fun Tag<HTMLButtonElement>.autofocus(value: Boolean, trueValue: String = "")
fun Tag<HTMLButtonElement>.autofocus(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLInputElement>.autofocus(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.autofocus(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLKeygenElement>.autofocus(value: Boolean, trueValue: String = "")
fun Tag<HTMLKeygenElement>.autofocus(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLSelectElement>.autofocus(value: Boolean, trueValue: String = "")
fun Tag<HTMLSelectElement>.autofocus(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.autofocus(value: Boolean, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.autofocus(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLMediaElement>.autoplay(value: Boolean, trueValue: String = "")
fun Tag<HTMLMediaElement>.autoplay(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
open fun b(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
open fun bdi(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun bdo(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
fun <T : Element> Tag<T>.beforeUnmount(payload: Any? = null, handler: DomLifecycleHandler)

Convenience method to register lifecycle handler for before a Tag is unmounted

Link copied to clipboard
Link copied to clipboard
open fun blockquote(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLQuoteElement>.() -> Unit): HtmlTag<HTMLQuoteElement>
Link copied to clipboard
Link copied to clipboard
open fun br(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLBRElement>.() -> Unit): HtmlTag<HTMLBRElement>
Link copied to clipboard
open fun button(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLButtonElement>.() -> Unit): HtmlTag<HTMLButtonElement>
Link copied to clipboard
open fun canvas(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLCanvasElement>.() -> Unit): HtmlTag<HTMLCanvasElement>
Link copied to clipboard
open fun caption(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableCaptionElement>.() -> Unit): HtmlTag<HTMLTableCaptionElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLInputElement>.checked(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.checked(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLMenuItemElement>.checked(value: Boolean, trueValue: String = "")
fun Tag<HTMLMenuItemElement>.checked(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun cite(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
fun Tag<HTMLModElement>.cite(value: Flow<String>)
fun Tag<HTMLQuoteElement>.cite(value: Flow<String>)
Link copied to clipboard
open fun classList(values: List<String>)
open fun classList(values: Flow<List<String>>)

Sets the class attribute from a List of Strings.

Link copied to clipboard
open fun classMap(values: Map<String, Boolean>)
open fun classMap(values: Flow<Map<String, Boolean>>)

Sets the class attribute from a Map of String to Boolean. If the value of the Map-entry is true, the key will be used inside the resulting String.

Link copied to clipboard
abstract fun className(value: String)

Adds a String of class names to the classes attribute of this Tag

abstract fun className(value: Flow<String>, initial: String = "")

Adds a Flow of class names to the classes attribute of this Tag

open fun <T> className(value: Flow<T>, initial: T, transform: (T) -> String)

Uses a Flow of T to create some class names by a transform lambda expression and add them to the classes attribute of the Tag.

Link copied to clipboard
fun Tag<HTMLBRElement>.clear(value: Flow<String>)
Link copied to clipboard
open fun code(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun col(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableColElement>.() -> Unit): HtmlTag<HTMLTableColElement>
Link copied to clipboard
open fun colgroup(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableColElement>.() -> Unit): HtmlTag<HTMLTableColElement>
Link copied to clipboard
fun Tag<HTMLFontElement>.color(value: Flow<String>)
fun Tag<HTMLHRElement>.color(value: Flow<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun command(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
fun Tag<HTMLDListElement>.compact(value: Boolean, trueValue: String = "")
fun Tag<HTMLDListElement>.compact(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLDirectoryElement>.compact(value: Boolean, trueValue: String = "")
fun Tag<HTMLDirectoryElement>.compact(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLMenuElement>.compact(value: Boolean, trueValue: String = "")
fun Tag<HTMLMenuElement>.compact(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLOListElement>.compact(value: Boolean, trueValue: String = "")
fun Tag<HTMLOListElement>.compact(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLUListElement>.compact(value: Boolean, trueValue: String = "")
fun Tag<HTMLUListElement>.compact(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLMediaElement>.controls(value: Boolean, trueValue: String = "")
fun Tag<HTMLMediaElement>.controls(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun custom(tagName: String, baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<Element>.() -> Unit): HtmlTag<Element>

Creates a custom HtmlTag with the provided content.

Link copied to clipboard
open fun data(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLDataElement>.() -> Unit): HtmlTag<HTMLDataElement>
Link copied to clipboard
Link copied to clipboard
open fun datalist(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLDataListElement>.() -> Unit): HtmlTag<HTMLDataListElement>
Link copied to clipboard
Link copied to clipboard
open fun dd(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLSpanElement>.() -> Unit): HtmlTag<HTMLSpanElement>
Link copied to clipboard
fun Tag<HTMLObjectElement>.declare(value: Boolean, trueValue: String = "")
fun Tag<HTMLObjectElement>.declare(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLMenuItemElement>.default(value: Boolean, trueValue: String = "")
fun Tag<HTMLMenuItemElement>.default(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLTrackElement>.default(value: Boolean, trueValue: String = "")
fun Tag<HTMLTrackElement>.default(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLInputElement>.defaultChecked(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.defaultChecked(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLMediaElement>.defaultMuted(value: Boolean, trueValue: String = "")
fun Tag<HTMLMediaElement>.defaultMuted(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLOptionElement>.defaultSelected(value: Boolean, trueValue: String = "")
fun Tag<HTMLOptionElement>.defaultSelected(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLScriptElement>.defer(value: Boolean, trueValue: String = "")
fun Tag<HTMLScriptElement>.defer(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun del(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLModElement>.() -> Unit): HtmlTag<HTMLModElement>
Link copied to clipboard
open fun details(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLDetailsElement>.() -> Unit): HtmlTag<HTMLDetailsElement>
Link copied to clipboard
open fun dfn(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun dialog(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLDialogElement>.() -> Unit): HtmlTag<HTMLDialogElement>
Link copied to clipboard
fun Tag<HTMLElement>.dir(value: String)
fun Tag<HTMLElement>.dir(value: Flow<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLButtonElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLButtonElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLFieldSetElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLFieldSetElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLInputElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLKeygenElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLKeygenElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLMenuItemElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLMenuItemElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLOptGroupElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLOptGroupElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLOptionElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLOptionElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLSelectElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLSelectElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.disabled(value: Boolean, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.disabled(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun div(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLDivElement>.() -> Unit): HtmlTag<HTMLDivElement>
Link copied to clipboard
open fun dl(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLDListElement>.() -> Unit): HtmlTag<HTMLDListElement>
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLElement>.draggable(value: Boolean, trueValue: String = "")
fun Tag<HTMLElement>.draggable(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun dt(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLSpanElement>.() -> Unit): HtmlTag<HTMLSpanElement>
Link copied to clipboard
open fun em(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun embed(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLEmbedElement>.() -> Unit): HtmlTag<HTMLEmbedElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun errorHandler(cause: Throwable)

Default error handler printing the error to console.

Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLFontElement>.face(value: Flow<String>)
Link copied to clipboard
open fun fieldset(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLFieldSetElement>.() -> Unit): HtmlTag<HTMLFieldSetElement>
Link copied to clipboard
open fun figcaption(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun figure(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun footer(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
fun Tag<HTMLLabelElement>.for(value: Flow<String>)
fun Tag<HTMLScriptElement>.for(value: Flow<String>)
Link copied to clipboard
open fun form(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLFormElement>.() -> Unit): HtmlTag<HTMLFormElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLButtonElement>.formNoValidate(value: Boolean, trueValue: String = "")
fun Tag<HTMLButtonElement>.formNoValidate(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLInputElement>.formNoValidate(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.formNoValidate(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun h1(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open fun h2(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open fun h3(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open fun h4(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open fun h5(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open fun h6(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open infix fun <A> Flow<A>.handledBy(handler: Handler<A>)

Connects a Flow to a Handler.

open infix fun <A> Flow<A>.handledBy(execute: suspend (A) -> Unit): Job
open infix fun <E : Event> Flow<E>.handledBy(execute: suspend (E) -> Unit): Job

Connects a Flow to a suspendable execute function.

open infix fun <E : Event> Flow<E>.handledBy(handler: Handler<Unit>)

Connects Events to a Handler.

Link copied to clipboard
Link copied to clipboard
open fun header(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLElement>.hidden(value: Boolean, trueValue: String = "")
fun Tag<HTMLElement>.hidden(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
fun <T> WithJob.history(capacity: Int = 0, initialValue: List<T> = emptyList(), job: Job = this.job): History<T>

factory-method to create a History

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLHRElement>.() -> Unit): HtmlTag<HTMLHRElement>
Link copied to clipboard
fun Tag<HTMLAnchorElement>.href(value: Flow<String>)
fun Tag<HTMLAreaElement>.href(value: Flow<String>)
fun Tag<HTMLBaseElement>.href(value: Flow<String>)
fun Tag<HTMLLinkElement>.href(value: Flow<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun i(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLElement>.id(value: String)
fun Tag<HTMLElement>.id(value: Flow<String>)
Link copied to clipboard
open fun iframe(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLIFrameElement>.() -> Unit): HtmlTag<HTMLIFrameElement>
Link copied to clipboard
open fun img(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLImageElement>.() -> Unit): HtmlTag<HTMLImageElement>
Link copied to clipboard
fun Tag<HTMLInputElement>.indeterminate(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.indeterminate(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun inlineStyle(value: String)
open fun inlineStyle(value: Flow<String>)

Sets the style attribute.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun input(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLInputElement>.() -> Unit): HtmlTag<HTMLInputElement>
Link copied to clipboard
Link copied to clipboard
open fun ins(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLModElement>.() -> Unit): HtmlTag<HTMLModElement>
Link copied to clipboard
fun Tag<HTMLImageElement>.isMap(value: Boolean, trueValue: String = "")
fun Tag<HTMLImageElement>.isMap(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun kbd(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun label(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLLabelElement>.() -> Unit): HtmlTag<HTMLLabelElement>
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLElement>.lang(value: String)
fun Tag<HTMLElement>.lang(value: Flow<String>)
Link copied to clipboard
open fun legend(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLLegendElement>.() -> Unit): HtmlTag<HTMLLegendElement>
Link copied to clipboard
Link copied to clipboard
open fun li(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLLIElement>.() -> Unit): HtmlTag<HTMLLIElement>
Link copied to clipboard
fun Tag<HTMLBodyElement>.link(value: Flow<String>)
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLMarqueeElement>.loop(value: Flow<Int>)
fun Tag<HTMLMediaElement>.loop(value: Boolean, trueValue: String = "")
fun Tag<HTMLMediaElement>.loop(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLMeterElement>.low(value: Flow<Double>)
Link copied to clipboard
Link copied to clipboard
open fun main(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun map(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLMapElement>.() -> Unit): HtmlTag<HTMLMapElement>
Link copied to clipboard
Link copied to clipboard
open fun mark(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun meter(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLMeterElement>.() -> Unit): HtmlTag<HTMLMeterElement>
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLInputElement>.min(value: Flow<String>)
fun Tag<HTMLMeterElement>.min(value: Flow<Double>)
Link copied to clipboard
Link copied to clipboard

Allows to access the nearest MountPoint from any WithScope

Link copied to clipboard
fun Tag<HTMLInputElement>.multiple(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.multiple(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLSelectElement>.multiple(value: Boolean, trueValue: String = "")
fun Tag<HTMLSelectElement>.multiple(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLMediaElement>.muted(value: Boolean, trueValue: String = "")
fun Tag<HTMLMediaElement>.muted(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLAnchorElement>.name(value: Flow<String>)
fun Tag<HTMLAppletElement>.name(value: Flow<String>)
fun Tag<HTMLButtonElement>.name(value: Flow<String>)
fun Tag<HTMLEmbedElement>.name(value: Flow<String>)
fun Tag<HTMLFieldSetElement>.name(value: Flow<String>)
fun Tag<HTMLFormElement>.name(value: Flow<String>)
fun Tag<HTMLFrameElement>.name(value: Flow<String>)
fun Tag<HTMLIFrameElement>.name(value: Flow<String>)
fun Tag<HTMLImageElement>.name(value: Flow<String>)
fun Tag<HTMLInputElement>.name(value: Flow<String>)
fun Tag<HTMLKeygenElement>.name(value: Flow<String>)
fun Tag<HTMLMapElement>.name(value: Flow<String>)
fun Tag<HTMLMetaElement>.name(value: Flow<String>)
fun Tag<HTMLObjectElement>.name(value: Flow<String>)
fun Tag<HTMLOutputElement>.name(value: Flow<String>)
fun Tag<HTMLParamElement>.name(value: Flow<String>)
fun Tag<HTMLSelectElement>.name(value: Flow<String>)
fun Tag<HTMLSlotElement>.name(value: Flow<String>)
fun Tag<HTMLTextAreaElement>.name(value: Flow<String>)
Link copied to clipboard
open fun nav(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
fun Tag<HTMLElement>.nodeValue(value: Flow<String?>)
Link copied to clipboard
fun Tag<HTMLAreaElement>.noHref(value: Boolean, trueValue: String = "")
fun Tag<HTMLAreaElement>.noHref(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLFrameElement>.noResize(value: Boolean, trueValue: String = "")
fun Tag<HTMLFrameElement>.noResize(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun noscript(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
fun Tag<HTMLHRElement>.noShade(value: Boolean, trueValue: String = "")
fun Tag<HTMLHRElement>.noShade(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open operator fun String.not(): Node

Adds a comment in your HTML by using !"Comment Text".

Link copied to clipboard
fun Tag<HTMLFormElement>.noValidate(value: Boolean, trueValue: String = "")
fun Tag<HTMLFormElement>.noValidate(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLTableCellElement>.noWrap(value: Boolean, trueValue: String = "")
fun Tag<HTMLTableCellElement>.noWrap(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun object(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLObjectElement>.() -> Unit): HtmlTag<HTMLObjectElement>
Link copied to clipboard
Link copied to clipboard
open fun ol(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLOListElement>.() -> Unit): HtmlTag<HTMLOListElement>
Link copied to clipboard
fun Tag<HTMLDetailsElement>.open(value: Boolean, trueValue: String = "")
fun Tag<HTMLDetailsElement>.open(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLDialogElement>.open(value: Boolean, trueValue: String = "")
fun Tag<HTMLDialogElement>.open(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun optgroup(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLOptGroupElement>.() -> Unit): HtmlTag<HTMLOptGroupElement>
Link copied to clipboard
Link copied to clipboard
open fun option(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLOptionElement>.() -> Unit): HtmlTag<HTMLOptionElement>
Link copied to clipboard
Link copied to clipboard
open fun output(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLOutputElement>.() -> Unit): HtmlTag<HTMLOutputElement>
Link copied to clipboard
open fun p(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLParagraphElement>.() -> Unit): HtmlTag<HTMLParagraphElement>
Link copied to clipboard
open fun param(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLParamElement>.() -> Unit): HtmlTag<HTMLParamElement>
Link copied to clipboard
Link copied to clipboard
open fun path(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: SvgTag.() -> Unit): SvgTag
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun picture(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLPictureElement>.() -> Unit): HtmlTag<HTMLPictureElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLVideoElement>.playsInline(value: Boolean, trueValue: String = "")
fun Tag<HTMLVideoElement>.playsInline(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun pre(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLPreElement>.() -> Unit): HtmlTag<HTMLPreElement>
Link copied to clipboard
Link copied to clipboard
open fun progress(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLProgressElement>.() -> Unit): HtmlTag<HTMLProgressElement>
Link copied to clipboard
Link copied to clipboard
open fun q(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLQuoteElement>.() -> Unit): HtmlTag<HTMLQuoteElement>
Link copied to clipboard
open fun quote(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLQuoteElement>.() -> Unit): HtmlTag<HTMLQuoteElement>
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLInputElement>.readOnly(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.readOnly(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.readOnly(value: Boolean, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.readOnly(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
abstract fun <N : Node, W : WithDomNode<N>> register(element: W, content: (W) -> Unit): W
Link copied to clipboard
fun Tag<HTMLAnchorElement>.rel(value: Flow<String>)
fun Tag<HTMLAreaElement>.rel(value: Flow<String>)
fun Tag<HTMLLinkElement>.rel(value: Flow<String>)
Link copied to clipboard
open fun <V> Flow<V>.render(into: Tag<HTMLElement>? = null, content: Tag<*>.(V) -> Unit)

Renders the data of a Flow as Tags to the DOM.

Link copied to clipboard
open fun <V> Store<List<V>>.renderEach(idProvider: IdProvider<V, *>, into: Tag<HTMLElement>? = null, content: RenderContext.(Store<V>) -> HtmlTag<HTMLElement>)

Renders each element of a Stores List content. Internally the Patches are determined using Myer's diff-algorithm. This allows the detection of moves. Keep in mind, that no Patch is derived, when an element stays the same, but changes its internal values.

open fun <V> Flow<List<V>>.renderEach(idProvider: IdProvider<V, *>? = null, into: Tag<HTMLElement>? = null, batch: Boolean = false, content: RenderContext.(V) -> Tag<HTMLElement>)

Renders each element of a Flows content. Internally the Patches are determined using Myer's diff-algorithm. This allows the detection of moves. Keep in mind, that no Patch is derived, when an element stays the same, but changes its internal values.

Link copied to clipboard
open fun Flow<Boolean>.renderFalse(into: Tag<HTMLElement>? = null, content: Tag<*>.() -> Unit)

Renders the data of a boolean Flow only if its value is false.

Link copied to clipboard
open fun <V> Flow<V>.renderIf(predicate: (V) -> Boolean, into: Tag<HTMLElement>? = null, content: Tag<*>.(V) -> Unit)

Renders the data of a Flow only if the predicate is true.

Link copied to clipboard
open fun <W : Any> Flow<*>.renderIs(klass: KClass<W>, into: Tag<HTMLElement>? = null, content: Tag<*>.(W) -> Unit)

Renders the data of a Flow of type W.

Link copied to clipboard
open fun <V> Flow<V?>.renderNotNull(into: Tag<HTMLElement>? = null, content: Tag<*>.(V) -> Unit)

Renders the non-null data of a Flow.

Link copied to clipboard
open fun <T> Flow<T>.renderText(into: Tag<*>? = null)
open fun Flow<String>.renderText(into: Tag<*>? = null)

Adds text-content of a Flow at this position

Link copied to clipboard
open fun Flow<Boolean>.renderTrue(into: Tag<HTMLElement>? = null, content: Tag<*>.() -> Unit)

Renders the data of a boolean Flow only if its value is true.

Link copied to clipboard
fun Tag<HTMLInputElement>.required(value: Boolean, trueValue: String = "")
fun Tag<HTMLInputElement>.required(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLSelectElement>.required(value: Boolean, trueValue: String = "")
fun Tag<HTMLSelectElement>.required(value: Flow<Boolean>, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.required(value: Boolean, trueValue: String = "")
fun Tag<HTMLTextAreaElement>.required(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLAnchorElement>.rev(value: Flow<String>)
fun Tag<HTMLLinkElement>.rev(value: Flow<String>)
Link copied to clipboard
fun Tag<HTMLOListElement>.reversed(value: Boolean, trueValue: String = "")
fun Tag<HTMLOListElement>.reversed(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun rp(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun rt(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun ruby(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
open fun s(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun samp(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun script(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLScriptElement>.() -> Unit): HtmlTag<HTMLScriptElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun section(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun select(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLSelectElement>.() -> Unit): HtmlTag<HTMLSelectElement>
Link copied to clipboard
fun Tag<HTMLOptionElement>.selected(value: Boolean, trueValue: String = "")
fun Tag<HTMLOptionElement>.selected(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLFontElement>.size(value: Flow<String>)
fun Tag<HTMLHRElement>.size(value: Flow<String>)
fun Tag<HTMLInputElement>.size(value: Flow<Int>)
fun Tag<HTMLSelectElement>.size(value: Flow<Int>)
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLElement>.slot(value: String)
fun Tag<HTMLElement>.slot(value: Flow<String>)
Link copied to clipboard
open fun span(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLSpanElement>.() -> Unit): HtmlTag<HTMLSpanElement>
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLElement>.spellcheck(value: Boolean, trueValue: String = "")
fun Tag<HTMLElement>.spellcheck(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLEmbedElement>.src(value: Flow<String>)
fun Tag<HTMLFrameElement>.src(value: Flow<String>)
fun Tag<HTMLIFrameElement>.src(value: Flow<String>)
fun Tag<HTMLImageElement>.src(value: Flow<String>)
fun Tag<HTMLInputElement>.src(value: Flow<String>)
fun Tag<HTMLMediaElement>.src(value: Flow<String>)
fun Tag<HTMLScriptElement>.src(value: Flow<String>)
fun Tag<HTMLSourceElement>.src(value: Flow<String>)
fun Tag<HTMLTrackElement>.src(value: Flow<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLOListElement>.start(value: Flow<Int>)
Link copied to clipboard
Link copied to clipboard
fun <D> WithJob.storeOf(initialData: D, job: Job = this.job, id: String = Id.next()): Store<D>

Convenience function to create a simple Store without any handlers, etc.

fun <D, M> WithJob.storeOf(initialData: D, validation: Validation<D, Unit, M>, job: Job = this.job, id: String = Id.next()): ValidatingStore<D, Unit, M>

Convenience function to create a simple ValidatingStore without any metadata and handlers.

fun <D, T, M> WithJob.storeOf(initialData: D, validation: Validation<D, T, M>, metadataDefault: T, job: Job = this.job, id: String = Id.next()): ValidatingStore<D, T, M>

Convenience function to create a simple ValidatingStore without any handlers, etc.

Link copied to clipboard
open fun strong(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun sub(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun <X : Event> subscribe(eventName: String, capture: Boolean, init: Event.() -> Unit): Listener<X, E>

Creates an Listener for the given event eventName.

Link copied to clipboard
open fun summary(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
Link copied to clipboard
open fun sup(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun svg(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: SvgTag.() -> Unit): SvgTag
Link copied to clipboard
fun Tag<HTMLElement>.tabIndex(value: Flow<Int>)
Link copied to clipboard
open fun table(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableElement>.() -> Unit): HtmlTag<HTMLTableElement>
Link copied to clipboard
Link copied to clipboard
open fun tbody(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableSectionElement>.() -> Unit): HtmlTag<HTMLTableSectionElement>
Link copied to clipboard
open fun td(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableCellElement>.() -> Unit): HtmlTag<HTMLTableCellElement>
Link copied to clipboard
open fun textarea(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTextAreaElement>.() -> Unit): HtmlTag<HTMLTextAreaElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun tfoot(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableSectionElement>.() -> Unit): HtmlTag<HTMLTableSectionElement>
Link copied to clipboard
open fun th(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableCellElement>.() -> Unit): HtmlTag<HTMLTableCellElement>
Link copied to clipboard
Link copied to clipboard
open fun thead(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableSectionElement>.() -> Unit): HtmlTag<HTMLTableSectionElement>
Link copied to clipboard
open fun time(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTimeElement>.() -> Unit): HtmlTag<HTMLTimeElement>
Link copied to clipboard
fun Tag<HTMLElement>.title(value: Flow<String>)
Link copied to clipboard
open fun tr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTableRowElement>.() -> Unit): HtmlTag<HTMLTableRowElement>
Link copied to clipboard
open fun track(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLTrackElement>.() -> Unit): HtmlTag<HTMLTrackElement>
Link copied to clipboard
fun Tag<HTMLElement>.transition(enter: String? = null, enterStart: String? = null, enterEnd: String? = null, leave: String? = null, leaveStart: String? = null, leaveEnd: String? = null)

Applies a transition (enter and/or leave) to a Tag. The enter-transition will be executed right after the Tag is mounted to the DOM. The leave-transition will be executed right before the Tag is removed from the DOM. Further operation of the MountPoint rendering the Tag is suspended until the leave-animation is done.

fun Tag<HTMLElement>.transition(on: Flow<Boolean>, transition: Transition)
fun Tag<HTMLElement>.transition(on: Flow<Boolean>, enter: String? = null, enterStart: String? = null, enterEnd: String? = null, leave: String? = null, leaveStart: String? = null, leaveEnd: String? = null)

Applies a transition (enter and/or leave) to a Tag whenever a new value appears on a Flow The enter-transition will be executed when true appears on the Flow The leave-transition will be executed when false appears on the Flow Processing of further operations will not wait for the animation to finish.

Link copied to clipboard
fun Tag<HTMLElement>.translate(value: Boolean, trueValue: String = "")
fun Tag<HTMLElement>.translate(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
fun Tag<HTMLMarqueeElement>.trueSpeed(value: Boolean, trueValue: String = "")
fun Tag<HTMLMarqueeElement>.trueSpeed(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
Link copied to clipboard
fun Tag<HTMLObjectElement>.typeMustMatch(value: Boolean, trueValue: String = "")
fun Tag<HTMLObjectElement>.typeMustMatch(value: Flow<Boolean>, trueValue: String = "")
Link copied to clipboard
open fun u(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun ul(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLUListElement>.() -> Unit): HtmlTag<HTMLUListElement>
Link copied to clipboard
open operator fun String.unaryPlus(): Node

Adds static text-content at this position

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun var(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun video(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLVideoElement>.() -> Unit): HtmlTag<HTMLVideoElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun WithDomNode<*>.waitForAnimation()

wait for a running animation on the DOM-Node to finish.

Link copied to clipboard
open fun wbr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open fun <T> T.whenever(condition: Flow<Boolean>): Flow<T?>

This extension method takes a boolean Flow that controls the forwarding of the initial value: If it is true the value will be passed further on the result flow, if it is false a null will appear instead.

open fun <T> Flow<T>.whenever(condition: Flow<Boolean>): Flow<T?>

This extension method takes a boolean Flow that controls the forwarding of an initial flow: If it is true the current value will be passed further on the result flow, if it is false a null will appear instead.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard