HtmlTag

open class HtmlTag<out E : Element>(tagName: String, val id: String? = null, val baseClass: String? = null, val job: Job, val scope: Scope) : Tag<E>

Implementation of Tag to represent HTML5-tags.

Parameters

tagName

name of the tag. Used to create the corresponding Element

Inheritors

Constructors

Link copied to clipboard
constructor(tagName: String, id: String? = null, baseClass: String? = null, job: Job, scope: Scope)

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

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when a CSS Animation has started

Link copied to clipboard

occurs when a CSS Animation has started

Link copied to clipboard
open override val annex: RenderContext

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

Link copied to clipboard
override val baseClass: String? = null

a static base value for the class-attribute. All dynamic values for this attribute will be concatenated to this base-value.

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
open override 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
open val errors: Listener<Event, E>

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when a CSS Animation has completed

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
override val id: String? = null

the DOM-id of the element to be created

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
open override val job: Job

used 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
open override val scope: Scope

set some arbitrary scope entries into the Tag's 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

occurs when a CSS transition has completed

Link copied to clipboard

occurs when a CSS transition has completed

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
open fun aborts(init: Event.() -> Unit): Listener<Event, E>

occurs when the loading of a media is aborted

Link copied to clipboard
open fun abortsCaptured(init: Event.() -> Unit): Listener<Event, E>

occurs when the loading of a media is aborted

Link copied to clipboard
open fun abortsCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when the loading of a media is aborted

Link copied to clipboard
open fun abortsIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when the loading of a media is aborted

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
open fun afterprints(init: Event.() -> Unit): Listener<Event, E>

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

Link copied to clipboard
open fun afterprintsCaptured(init: Event.() -> Unit): Listener<Event, E>

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

Link copied to clipboard
open fun afterprintsCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

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

Link copied to clipboard
open fun afterprintsIf(selector: Event.() -> Boolean): Listener<Event, E>

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

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
open fun animationends(init: Event.() -> Unit): Listener<Event, E>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationendsCaptured(init: Event.() -> Unit): Listener<Event, E>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationendsCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationendsIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationiterations(init: Event.() -> Unit): Listener<Event, E>

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard
open fun animationiterationsIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard
open fun animationstarts(init: Event.() -> Unit): Listener<Event, E>

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationstartsCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when a CSS Animation has started

Link copied to clipboard
open fun animationstartsIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when a CSS Animation has started

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
open fun beforeprints(init: Event.() -> Unit): Listener<Event, E>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeprintsCaptured(init: Event.() -> Unit): Listener<Event, E>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeprintsCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeprintsIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeunloads(init: Event.() -> Unit): Listener<Event, E>

occurs before the document is about to be unloaded

Link copied to clipboard
open fun beforeunloadsCaptured(init: Event.() -> Unit): Listener<Event, E>

occurs before the document is about to be unloaded

Link copied to clipboard
open fun beforeunloadsCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs before the document is about to be unloaded

Link copied to clipboard
open fun beforeunloadsIf(selector: Event.() -> Boolean): Listener<Event, E>

occurs before the document is about to be unloaded

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
open fun blurs(init: FocusEvent.() -> Unit): Listener<FocusEvent, E>

occurs when an element loses focus

Link copied to clipboard

occurs when an element loses focus

Link copied to clipboard
open fun blursCapturedIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, E>

occurs when an element loses focus

Link copied to clipboard
open fun blursIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, E>

occurs when an element loses focus

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 canplays(init: Event.() -> Unit): Listener<Event, E>

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

Link copied to clipboard
open fun canplaysCaptured(init: Event.() -> Unit): Listener<Event, E>

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

Link copied to clipboard
open fun canplaysCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

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

Link copied to clipboard
open fun canplaysIf(selector: Event.() -> Boolean): Listener<Event, E>

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

Link copied to clipboard
open fun canplaythroughs(init: Event.() -> Unit): Listener<Event, E>

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 fun canplaythroughsCapturedIf(selector: Event.() -> Boolean): Listener<Event, E>

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

Link copied to clipboard
open fun canplaythroughsIf(selector: Event.() -> Boolean): Listener<Event, E>

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

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
open fun changes(init: Event.() -> Unit): 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
open fun changesCaptured(init: Event.() -> Unit): 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
open fun changesCapturedIf(selector: Event.() -> Boolean): 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
open fun changesIf(selector: Event.() -> Boolean): 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
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
open override fun className(value: String)

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

open override 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 clicks(init: MouseEvent.() -> Unit): Listener<MouseEvent, E>

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 clicks on an element

Link copied to clipboard
open fun clicksIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, E>

occurs when the user clicks on an element

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
open fun contextmenus(init: MouseEvent.() -> Unit): Listener<MouseEvent, E>

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 right-clicks on an element to open a context menu

Link copied to clipboard
open fun contextmenusIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, E>

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

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

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 copies the content of an element

Link copied to clipboard
open fun copysIf(selector: ClipboardEvent.() -> Boolean): Listener<ClipboardEvent, E>

occurs when the user copies the content of an element

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 cuts(init: ClipboardEvent.() -> Unit): Listener<ClipboardEvent, E>

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 cuts the content of an element

Link copied to clipboard
open fun cutsIf(selector: ClipboardEvent.() -> Boolean): Listener<ClipboardEvent, E>

occurs when the user cuts the content of an element

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 dblclicks(init: MouseEvent.() -> Unit): Listener<MouseEvent, E>

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

occurs when the user double-clicks on an element

Link copied to clipboard
open fun dblclicksIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, E>

occurs when the user double-clicks on an element

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