AbstractSwitch

abstract class AbstractSwitch<C : HTMLElement>(tag: Tag<C>, explicitId: String?, componentName: String) : Tag<C>

This base class provides the building blocks to implement a switch.

There exist two different implementations:

  • Switch for a simple switch with optional validation handling

  • SwitchWithLabel for a switch wit additional label and description facilities and optional validation handling

For more information refer to the official documentation

Constructors

Link copied to clipboard
fun <C : HTMLElement> AbstractSwitch(tag: Tag<C>, explicitId: String?, componentName: String)

Functions

Link copied to clipboard
open override fun a(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLAnchorElement>.() -> Unit): HtmlTag<HTMLAnchorElement>
Link copied to clipboard
open override fun abbr(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun address(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun addToClasses(classesToAdd: String)
open override fun addToClasses(classesToAdd: Flow<String>)
Link copied to clipboard
open override fun area(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLAreaElement>.() -> Unit): HtmlTag<HTMLAreaElement>
Link copied to clipboard
open override fun article(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun Scope.asDataAttr()
open override fun <T : Any> Scope.asDataAttr(key: Scope.Key<T>)
Link copied to clipboard
open override fun aside(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun <T> Flow<T>.asString(): Flow<String>
Link copied to clipboard
open override fun <T> attr(name: String, value: T)
open override fun attr(name: String, value: String)
open override fun attr(name: String, value: String?)
open override fun <T> attr(name: String, value: Flow<T>)
open override fun attr(name: String, value: Flow<String?>)
open override fun attr(name: String, value: Flow<String>)
open override fun attr(name: String, value: Boolean, trueValue: String)
open override fun attr(name: String, value: Boolean?, trueValue: String)
open override fun attr(name: String, value: Flow<Boolean?>, trueValue: String)
open override fun attr(name: String, value: Flow<Boolean>, trueValue: String)
Link copied to clipboard
open override fun audio(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLAudioElement>.() -> Unit): HtmlTag<HTMLAudioElement>
Link copied to clipboard
open override fun b(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun bdi(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun bdo(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun blockquote(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLQuoteElement>.() -> Unit): HtmlTag<HTMLQuoteElement>
Link copied to clipboard
open override fun br(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLBRElement>.() -> Unit): HtmlTag<HTMLBRElement>
Link copied to clipboard
open override fun button(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLButtonElement>.() -> Unit): HtmlTag<HTMLButtonElement>
Link copied to clipboard
open override fun canvas(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLCanvasElement>.() -> Unit): HtmlTag<HTMLCanvasElement>
Link copied to clipboard
open override fun caption(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableCaptionElement>.() -> Unit): HtmlTag<HTMLTableCaptionElement>
Link copied to clipboard
open override fun cite(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun classList(values: List<String>)
open override fun classList(values: Flow<List<String>>)
Link copied to clipboard
open override fun classMap(values: Map<String, Boolean>)
open override fun classMap(values: Flow<Map<String, Boolean>>)
Link copied to clipboard
open override fun className(value: String)
open override fun className(value: Flow<String>)
Link copied to clipboard
open override fun code(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun col(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableColElement>.() -> Unit): HtmlTag<HTMLTableColElement>
Link copied to clipboard
open override fun colgroup(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableColElement>.() -> Unit): HtmlTag<HTMLTableColElement>
Link copied to clipboard
open override fun command(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun custom(tagName: String, baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<Element>.() -> Unit): HtmlTag<Element>
Link copied to clipboard
open override fun data(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLDataElement>.() -> Unit): HtmlTag<HTMLDataElement>
Link copied to clipboard
open override fun datalist(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLDataListElement>.() -> Unit): HtmlTag<HTMLDataListElement>
Link copied to clipboard
open override fun dd(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLSpanElement>.() -> Unit): HtmlTag<HTMLSpanElement>
Link copied to clipboard
open override fun del(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLModElement>.() -> Unit): HtmlTag<HTMLModElement>
Link copied to clipboard
open override fun details(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLDetailsElement>.() -> Unit): HtmlTag<HTMLDetailsElement>
Link copied to clipboard
open override fun dfn(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun dialog(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLDialogElement>.() -> Unit): HtmlTag<HTMLDialogElement>
Link copied to clipboard
open override fun div(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLDivElement>.() -> Unit): HtmlTag<HTMLDivElement>
Link copied to clipboard
open override fun dl(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLDListElement>.() -> Unit): HtmlTag<HTMLDListElement>
Link copied to clipboard
open override fun dt(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLSpanElement>.() -> Unit): HtmlTag<HTMLSpanElement>
Link copied to clipboard
open override fun em(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun embed(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLEmbedElement>.() -> Unit): HtmlTag<HTMLEmbedElement>
Link copied to clipboard
open override fun errorHandler(cause: Throwable)
Link copied to clipboard
open override fun fieldset(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLFieldSetElement>.() -> Unit): HtmlTag<HTMLFieldSetElement>
Link copied to clipboard
open override fun figcaption(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun figure(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun footer(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun form(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLFormElement>.() -> Unit): HtmlTag<HTMLFormElement>
Link copied to clipboard
open override fun h1(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open override fun h2(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open override fun h3(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open override fun h4(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open override fun h5(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open override fun h6(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLHeadingElement>.() -> Unit): HtmlTag<HTMLHeadingElement>
Link copied to clipboard
open infix override fun <A> Flow<A>.handledBy(handler: Handler<A>)
open infix override fun <A> Flow<A>.handledBy(execute: suspend (A) -> Unit): Job
open infix override fun <E : Event> Flow<E>.handledBy(handler: Handler<Unit>)
open infix override fun <E : Event> Flow<E>.handledBy(execute: suspend (E) -> Unit): Job
Link copied to clipboard
open override fun header(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun hr(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLHRElement>.() -> Unit): HtmlTag<HTMLHRElement>
Link copied to clipboard
open override fun i(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun iframe(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLIFrameElement>.() -> Unit): HtmlTag<HTMLIFrameElement>
Link copied to clipboard
open override fun img(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLImageElement>.() -> Unit): HtmlTag<HTMLImageElement>
Link copied to clipboard
open override fun inlineStyle(value: String)
open override fun inlineStyle(value: Flow<String>)
Link copied to clipboard
open override fun input(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLInputElement>.() -> Unit): HtmlTag<HTMLInputElement>
Link copied to clipboard
open override fun ins(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLModElement>.() -> Unit): HtmlTag<HTMLModElement>
Link copied to clipboard
open operator override fun Handler<Unit>.invoke()
open operator override fun <A> Handler<A>.invoke(data: A)
Link copied to clipboard
open override fun kbd(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun label(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLLabelElement>.() -> Unit): HtmlTag<HTMLLabelElement>
Link copied to clipboard
open override fun legend(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLLegendElement>.() -> Unit): HtmlTag<HTMLLegendElement>
Link copied to clipboard
open override fun li(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLLIElement>.() -> Unit): HtmlTag<HTMLLIElement>
Link copied to clipboard
open override fun main(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun map(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLMapElement>.() -> Unit): HtmlTag<HTMLMapElement>
Link copied to clipboard
open override fun mark(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun meter(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLMeterElement>.() -> Unit): HtmlTag<HTMLMeterElement>
Link copied to clipboard
open override fun nav(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun noscript(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open operator override fun String.not(): Node
Link copied to clipboard
open override fun object(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLObjectElement>.() -> Unit): HtmlTag<HTMLObjectElement>
Link copied to clipboard
open override fun ol(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLOListElement>.() -> Unit): HtmlTag<HTMLOListElement>
Link copied to clipboard
open override fun optgroup(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLOptGroupElement>.() -> Unit): HtmlTag<HTMLOptGroupElement>
Link copied to clipboard
open override fun option(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLOptionElement>.() -> Unit): HtmlTag<HTMLOptionElement>
Link copied to clipboard
open override fun output(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLOutputElement>.() -> Unit): HtmlTag<HTMLOutputElement>
Link copied to clipboard
open override fun p(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLParagraphElement>.() -> Unit): HtmlTag<HTMLParagraphElement>
Link copied to clipboard
open override fun param(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLParamElement>.() -> Unit): HtmlTag<HTMLParamElement>
Link copied to clipboard
open override fun path(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: SvgTag.() -> Unit): SvgTag
Link copied to clipboard
open override fun picture(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLPictureElement>.() -> Unit): HtmlTag<HTMLPictureElement>
Link copied to clipboard
open override fun pre(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLPreElement>.() -> Unit): HtmlTag<HTMLPreElement>
Link copied to clipboard
open override fun progress(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLProgressElement>.() -> Unit): HtmlTag<HTMLProgressElement>
Link copied to clipboard
open override fun q(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLQuoteElement>.() -> Unit): HtmlTag<HTMLQuoteElement>
Link copied to clipboard
open override fun quote(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLQuoteElement>.() -> Unit): HtmlTag<HTMLQuoteElement>
Link copied to clipboard
open override fun <N : Node, W : WithDomNode<N>> register(element: W, content: (W) -> Unit): W
Link copied to clipboard
abstract fun render()
open override fun <V> Flow<V>.render(into: Tag<HTMLElement>?, content: Tag<*>.(V) -> Unit)
Link copied to clipboard
open override fun <V> Store<List<V>>.renderEach(idProvider: IdProvider<V, *>, into: Tag<HTMLElement>?, content: RenderContext.(Store<V>) -> HtmlTag<HTMLElement>)
open override fun <V> Flow<List<V>>.renderEach(idProvider: IdProvider<V, *>?, into: Tag<HTMLElement>?, batch: Boolean, content: RenderContext.(V) -> Tag<HTMLElement>)
Link copied to clipboard
open override fun <T> Flow<T>.renderText(into: Tag<*>?)
open override fun Flow<String>.renderText(into: Tag<*>?)
Link copied to clipboard
open override fun rp(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun rt(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun ruby(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun s(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun samp(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun script(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLScriptElement>.() -> Unit): HtmlTag<HTMLScriptElement>
Link copied to clipboard
open override fun section(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun select(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLSelectElement>.() -> Unit): HtmlTag<HTMLSelectElement>
Link copied to clipboard
open override fun span(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLSpanElement>.() -> Unit): HtmlTag<HTMLSpanElement>
Link copied to clipboard
open override fun strong(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun sub(baseClass: String?, id: String?, 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, C>
Link copied to clipboard
open override fun summary(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun sup(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun svg(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: SvgTag.() -> Unit): SvgTag
Link copied to clipboard
fun RenderContext.switchValidationMessages(classes: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: ValidationMessages<HTMLDivElement>.() -> Unit)

Factory function to create a switchValidationMessages with a HTMLDivElement as default Tag.

fun <CV : HTMLElement> RenderContext.switchValidationMessages(classes: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<CV>>, initialize: ValidationMessages<CV>.() -> Unit)

Factory function to create a switchValidationMessages.

Link copied to clipboard
open override fun table(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableElement>.() -> Unit): HtmlTag<HTMLTableElement>
Link copied to clipboard
open override fun tbody(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableSectionElement>.() -> Unit): HtmlTag<HTMLTableSectionElement>
Link copied to clipboard
open override fun td(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableCellElement>.() -> Unit): HtmlTag<HTMLTableCellElement>
Link copied to clipboard
open override fun textarea(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTextAreaElement>.() -> Unit): HtmlTag<HTMLTextAreaElement>
Link copied to clipboard
open override fun tfoot(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableSectionElement>.() -> Unit): HtmlTag<HTMLTableSectionElement>
Link copied to clipboard
open override fun th(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableCellElement>.() -> Unit): HtmlTag<HTMLTableCellElement>
Link copied to clipboard
open override fun thead(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableSectionElement>.() -> Unit): HtmlTag<HTMLTableSectionElement>
Link copied to clipboard
open override fun time(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTimeElement>.() -> Unit): HtmlTag<HTMLTimeElement>
Link copied to clipboard
open override fun tr(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTableRowElement>.() -> Unit): HtmlTag<HTMLTableRowElement>
Link copied to clipboard
open override fun track(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLTrackElement>.() -> Unit): HtmlTag<HTMLTrackElement>
Link copied to clipboard
open override fun u(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun ul(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLUListElement>.() -> Unit): HtmlTag<HTMLUListElement>
Link copied to clipboard
open operator override fun String.unaryPlus(): Node
Link copied to clipboard
open override fun var(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun video(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLVideoElement>.() -> Unit): HtmlTag<HTMLVideoElement>
Link copied to clipboard
open override fun wbr(baseClass: String?, id: String?, scope: ScopeContext.() -> Unit, content: HtmlTag<HTMLElement>.() -> Unit): HtmlTag<HTMLElement>
Link copied to clipboard
open override fun <T> T.whenever(condition: Flow<Boolean>): Flow<T?>
open override fun <T> Flow<T>.whenever(condition: Flow<Boolean>): Flow<T?>

Properties

Link copied to clipboard
open override val aborts: Listener<Event, C>
Link copied to clipboard
open override val abortsCaptured: Listener<Event, C>
Link copied to clipboard
open override val afterprints: Listener<Event, C>
Link copied to clipboard
open override val afterprintsCaptured: Listener<Event, C>
Link copied to clipboard
open override val annex: RenderContext
Link copied to clipboard
open override val baseClass: String?
Link copied to clipboard
open override val beforeprints: Listener<Event, C>
Link copied to clipboard
open override val beforeprintsCaptured: Listener<Event, C>
Link copied to clipboard
open override val beforeunloads: Listener<Event, C>
Link copied to clipboard
open override val beforeunloadsCaptured: Listener<Event, C>
Link copied to clipboard
open override val blurs: Listener<FocusEvent, C>
Link copied to clipboard
open override val blursCaptured: Listener<FocusEvent, C>
Link copied to clipboard
open override val canplays: Listener<Event, C>
Link copied to clipboard
open override val canplaysCaptured: Listener<Event, C>
Link copied to clipboard
open override val canplaythroughs: Listener<Event, C>
Link copied to clipboard
Link copied to clipboard
open override val changes: Listener<Event, C>
Link copied to clipboard
open override val changesCaptured: Listener<Event, C>
Link copied to clipboard
open override val clicks: Listener<MouseEvent, C>
Link copied to clipboard
open override val clicksCaptured: Listener<MouseEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val contextmenus: Listener<MouseEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val copys: Listener<ClipboardEvent, C>
Link copied to clipboard
open override val copysCaptured: Listener<ClipboardEvent, C>
Link copied to clipboard
open override val cuts: Listener<ClipboardEvent, C>
Link copied to clipboard
open override val cutsCaptured: Listener<ClipboardEvent, C>
Link copied to clipboard
open override val dblclicks: Listener<MouseEvent, C>
Link copied to clipboard
open override val dblclicksCaptured: Listener<MouseEvent, C>
Link copied to clipboard
open override val domNode: C
Link copied to clipboard
open override val dragends: Listener<DragEvent, C>
Link copied to clipboard
open override val dragendsCaptured: Listener<DragEvent, C>
Link copied to clipboard
open override val dragenters: Listener<DragEvent, C>
Link copied to clipboard
open override val dragentersCaptured: Listener<DragEvent, C>
Link copied to clipboard
open override val dragleaves: Listener<DragEvent, C>
Link copied to clipboard
open override val dragleavesCaptured: Listener<DragEvent, C>
Link copied to clipboard
open override val dragovers: Listener<DragEvent, C>
Link copied to clipboard
open override val dragoversCaptured: Listener<DragEvent, C>
Link copied to clipboard
open override val drags: Listener<DragEvent, C>
Link copied to clipboard
open override val dragsCaptured: Listener<DragEvent, C>
Link copied to clipboard
open override val dragstarts: Listener<DragEvent, C>
Link copied to clipboard
open override val dragstartsCaptured: Listener<DragEvent, C>
Link copied to clipboard
open override val drops: Listener<DragEvent, C>
Link copied to clipboard
open override val dropsCaptured: Listener<DragEvent, C>
Link copied to clipboard
open override val durationchanges: Listener<Event, C>
Link copied to clipboard
Link copied to clipboard
val enabled: Flow<Boolean>
Link copied to clipboard
open override val endeds: Listener<Event, C>
Link copied to clipboard
open override val endedsCaptured: Listener<Event, C>
Link copied to clipboard
open override val focusins: Listener<FocusEvent, C>
Link copied to clipboard
open override val focusinsCaptured: Listener<FocusEvent, C>
Link copied to clipboard
open override val focusouts: Listener<FocusEvent, C>
Link copied to clipboard
open override val focusoutsCaptured: Listener<FocusEvent, C>
Link copied to clipboard
open override val focuss: Listener<FocusEvent, C>
Link copied to clipboard
open override val focussCaptured: Listener<FocusEvent, C>
Link copied to clipboard
open override val fullscreenchanges: Listener<Event, C>
Link copied to clipboard
Link copied to clipboard
open override val fullscreenerrors: Listener<Event, C>
Link copied to clipboard
Link copied to clipboard
open override val hashchanges: Listener<HashChangeEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val id: String?
Link copied to clipboard
open override val inputs: Listener<Event, C>
Link copied to clipboard
open override val inputsCaptured: Listener<Event, C>
Link copied to clipboard
open override val invalids: Listener<Event, C>
Link copied to clipboard
open override val invalidsCaptured: Listener<Event, C>
Link copied to clipboard
open override val job: Job
Link copied to clipboard
open override val keydowns: Listener<KeyboardEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val keypresss: Listener<KeyboardEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val keyups: Listener<KeyboardEvent, C>
Link copied to clipboard
open override val keyupsCaptured: Listener<KeyboardEvent, C>
Link copied to clipboard
open override val loadeddatas: Listener<Event, C>
Link copied to clipboard
open override val loadeddatasCaptured: Listener<Event, C>
Link copied to clipboard
open override val loadedmetadatas: Listener<Event, C>
Link copied to clipboard
Link copied to clipboard
open override val loads: Listener<Event, C>
Link copied to clipboard
open override val loadsCaptured: Listener<Event, C>
Link copied to clipboard
open override val loadstarts: Listener<ProgressEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val messages: Listener<Event, C>
Link copied to clipboard
open override val messagesCaptured: Listener<Event, C>
Link copied to clipboard
open override val mousedowns: Listener<MouseEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val mouseenters: Listener<MouseEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val mouseleaves: Listener<MouseEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val mousemoves: Listener<MouseEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val mouseouts: Listener<MouseEvent, C>
Link copied to clipboard
open override val mouseoutsCaptured: Listener<MouseEvent, C>
Link copied to clipboard
open override val mouseovers: Listener<MouseEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val mouseups: Listener<MouseEvent, C>
Link copied to clipboard
open override val mouseupsCaptured: Listener<MouseEvent, C>
Link copied to clipboard
open override val offlines: Listener<Event, C>
Link copied to clipboard
open override val offlinesCaptured: Listener<Event, C>
Link copied to clipboard
open override val onlines: Listener<Event, C>
Link copied to clipboard
open override val onlinesCaptured: Listener<Event, C>
Link copied to clipboard
open override val opens: Listener<Event, C>
Link copied to clipboard
open override val opensCaptured: Listener<Event, C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val pastes: Listener<ClipboardEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val pauses: Listener<Event, C>
Link copied to clipboard
open override val pausesCaptured: Listener<Event, C>
Link copied to clipboard
open override val playings: Listener<Event, C>
Link copied to clipboard
open override val playingsCaptured: Listener<Event, C>
Link copied to clipboard
open override val plays: Listener<Event, C>
Link copied to clipboard
open override val playsCaptured: Listener<Event, C>
Link copied to clipboard
open override val popstates: Listener<PopStateEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val progresss: Listener<Event, C>
Link copied to clipboard
open override val progresssCaptured: Listener<Event, C>
Link copied to clipboard
open override val ratechanges: Listener<Event, C>
Link copied to clipboard
open override val ratechangesCaptured: Listener<Event, C>
Link copied to clipboard
open override val resets: Listener<Event, C>
Link copied to clipboard
open override val resetsCaptured: Listener<Event, C>
Link copied to clipboard
open override val resizes: Listener<Event, C>
Link copied to clipboard
open override val resizesCaptured: Listener<Event, C>
Link copied to clipboard
open override val scope: Scope
Link copied to clipboard
open override val scrolls: Listener<Event, C>
Link copied to clipboard
open override val scrollsCaptured: Listener<Event, C>
Link copied to clipboard
open override val searchs: Listener<Event, C>
Link copied to clipboard
open override val searchsCaptured: Listener<Event, C>
Link copied to clipboard
open override val seekeds: Listener<Event, C>
Link copied to clipboard
open override val seekedsCaptured: Listener<Event, C>
Link copied to clipboard
open override val seekings: Listener<Event, C>
Link copied to clipboard
open override val seekingsCaptured: Listener<Event, C>
Link copied to clipboard
open override val selects: Listener<Event, C>
Link copied to clipboard
open override val selectsCaptured: Listener<Event, C>
Link copied to clipboard
open override val shows: Listener<Event, C>
Link copied to clipboard
open override val showsCaptured: Listener<Event, C>
Link copied to clipboard
open override val stalleds: Listener<Event, C>
Link copied to clipboard
open override val stalledsCaptured: Listener<Event, C>
Link copied to clipboard
open override val storages: Listener<StorageEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val submits: Listener<Event, C>
Link copied to clipboard
open override val submitsCaptured: Listener<Event, C>
Link copied to clipboard
open override val suspends: Listener<Event, C>
Link copied to clipboard
open override val suspendsCaptured: Listener<Event, C>
Link copied to clipboard
open override val timeupdates: Listener<Event, C>
Link copied to clipboard
open override val timeupdatesCaptured: Listener<Event, C>
Link copied to clipboard
open override val toggles: Listener<Event, C>
Link copied to clipboard
open override val togglesCaptured: Listener<Event, C>
Link copied to clipboard
open override val touchcancels: Listener<TouchEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val touchends: Listener<TouchEvent, C>
Link copied to clipboard
open override val touchendsCaptured: Listener<TouchEvent, C>
Link copied to clipboard
open override val touchmoves: Listener<TouchEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val touchstarts: Listener<TouchEvent, C>
Link copied to clipboard
Link copied to clipboard
open override val unloads: Listener<Event, C>
Link copied to clipboard
open override val unloadsCaptured: Listener<Event, C>
Link copied to clipboard
Link copied to clipboard
open override val volumechanges: Listener<Event, C>
Link copied to clipboard
open override val volumechangesCaptured: Listener<Event, C>
Link copied to clipboard
open override val waitings: Listener<Event, C>
Link copied to clipboard
open override val waitingsCaptured: Listener<Event, C>
Link copied to clipboard
open override val wheels: Listener<WheelEvent, C>
Link copied to clipboard
open override val wheelsCaptured: Listener<WheelEvent, C>

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun <N : Element> Tag<N>.attrIfNotSet(name: String, value: String)

Sets an attribute only if it is not present yet.

Link copied to clipboard
fun <C : HTMLElement, T> RenderContext.checkboxGroup(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: CheckboxGroup<C, T>.() -> Unit): Tag<C>

Factory function to create a CheckboxGroup.

fun <T> RenderContext.checkboxGroup(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: CheckboxGroup<HTMLDivElement, T>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a CheckboxGroup with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <T, C : HTMLElement> RenderContext.dataCollection(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: DataCollection<T, C>.() -> Unit): Tag<C>

Factory function to create a DataCollection.

fun <T> RenderContext.dataCollection(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: DataCollection<T, HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a DataCollection with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.disclosure(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: Disclosure<C>.() -> Unit): Tag<C>

Factory function to create a Disclosure.

fun RenderContext.disclosure(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: Disclosure<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a Disclosure with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.inputField(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: InputField<C>.() -> Unit): Tag<C>

Factory function to create a InputField.

fun RenderContext.inputField(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: InputField<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a InputField with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <T, C : HTMLElement> RenderContext.listbox(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: Listbox<T, C>.() -> Unit): Tag<C>

Factory function to create a Listbox.

fun <T> RenderContext.listbox(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: Listbox<T, HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a Listbox with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.menu(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: Menu<C>.() -> Unit): Tag<C>

Factory function to create a Menu.

fun RenderContext.menu(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: Menu<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a Menu with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun RenderContext.modal(initialize: Modal.() -> Unit)

Factory function to create a Modal.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.popOver(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: PopOver<C>.() -> Unit): Tag<C>

Factory function to create a PopOver.

fun RenderContext.popOver(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: PopOver<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a PopOver with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <C : HTMLElement, T> RenderContext.radioGroup(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: RadioGroup<C, T>.() -> Unit): Tag<C>

Factory function to create a RadioGroup.

fun <T> RenderContext.radioGroup(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: RadioGroup<HTMLDivElement, T>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a RadioGroup with a HTMLDivElement as default root Tag.

Link copied to clipboard
suspend fun Tag<HTMLElement>.setFocus(maxRetries: Int = 10)

Sets focus on the Tag it is called on. Continues to try setting the focus until it was successful or the maximum number of retries is reached. Use this function for example to set the focus on an element that just becomes visible.

Link copied to clipboard

Mark some Tag with a data-attribute INITIAL_FOCUS_DATA_ATTR so that the trapFocusInMountpoint function can find this Tag and set the initial focus to it.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.switch(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: Switch<C>.() -> Unit): Tag<C>

Factory function to create a Switch.

fun RenderContext.switch(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: Switch<HTMLButtonElement>.() -> Unit): Tag<HTMLButtonElement>

Factory function to create a Switch with a HTMLButtonElement as default root Tag.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.switchWithLabel(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: SwitchWithLabel<C>.() -> Unit): Tag<C>

Factory function to create a SwitchWithLabel.

fun RenderContext.switchWithLabel(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: SwitchWithLabel<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a SwitchWithLabel with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.tabGroup(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: TabGroup<C>.() -> Unit): Tag<C>

Factory function to create a TabGroup.

fun RenderContext.tabGroup(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: TabGroup<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a TabGroup with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <C : HTMLElement> RenderContext.textArea(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: TextArea<C>.() -> Unit): Tag<C>

Factory function to create a TextArea.

fun RenderContext.textArea(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: TextArea<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a TextArea with a HTMLDivElement as default root Tag.

Link copied to clipboard
fun <E : HTMLElement> RenderContext.toastContainer(name: String, classes: String? = null, id: String? = null, scope: ScopeContext.() ->