TagContext

interface TagContext : WithJob, WithScope

Context for rendering standard HTML5 Tags

Functions

a
Link copied to clipboard
js
open fun a(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: A.() -> Unit): A
abbr
Link copied to clipboard
js
open fun abbr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
address
Link copied to clipboard
js
open fun address(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
area
Link copied to clipboard
js
open fun area(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Area.() -> Unit): Area
article
Link copied to clipboard
js
open fun article(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
aside
Link copied to clipboard
js
open fun aside(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
asString
Link copied to clipboard
js
open fun <T> Flow<T>.asString(): Flow<String>
Converts the content of a Flow to String by using toString method.
audio
Link copied to clipboard
js
open fun audio(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Audio.() -> Unit): Audio
b
Link copied to clipboard
js
open fun b(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
bdi
Link copied to clipboard
js
open fun bdi(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
bdo
Link copied to clipboard
js
open fun bdo(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
blockquote
Link copied to clipboard
js
open fun blockquote(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
br
Link copied to clipboard
js
open fun br(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Br.() -> Unit): Br
button
Link copied to clipboard
js
open fun button(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Button.() -> Unit): Button
canvas
Link copied to clipboard
js
open fun canvas(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Canvas.() -> Unit): Canvas
caption
Link copied to clipboard
js
open fun caption(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Caption.() -> Unit): Caption
cite
Link copied to clipboard
js
open fun cite(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
code
Link copied to clipboard
js
open fun code(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
col
Link copied to clipboard
js
open fun col(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Col.() -> Unit): Col
colgroup
Link copied to clipboard
js
open fun colgroup(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Colgroup.() -> Unit): Colgroup
command
Link copied to clipboard
js
open fun command(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
custom
Link copied to clipboard
js
open fun custom(tagName: String, baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: RenderContext.() -> Unit): RenderContext
Creates a custom Tag with the provided content.
data
Link copied to clipboard
js
open fun data(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Data.() -> Unit): Data
datalist
Link copied to clipboard
js
open fun datalist(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: DataList.() -> Unit): DataList
dd
Link copied to clipboard
js
open fun dd(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
del
Link copied to clipboard
js
open fun del(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Del.() -> Unit): Del
details
Link copied to clipboard
js
open fun details(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Details.() -> Unit): Details
dfn
Link copied to clipboard
js
open fun dfn(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
dialog
Link copied to clipboard
js
open fun dialog(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Dialog.() -> Unit): Dialog
div
Link copied to clipboard
js
open fun div(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Div.() -> Unit): Div
dl
Link copied to clipboard
js
open fun dl(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Dl.() -> Unit): Dl
dt
Link copied to clipboard
js
open fun dt(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
em
Link copied to clipboard
js
open fun em(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
embed
Link copied to clipboard
js
open fun embed(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Embed.() -> Unit): Embed
fieldset
Link copied to clipboard
js
open fun fieldset(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: FieldSet.() -> Unit): FieldSet
figcaption
Link copied to clipboard
js
open fun figcaption(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
figure
Link copied to clipboard
js
open fun figure(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
footer
Link copied to clipboard
js
open fun footer(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
form
Link copied to clipboard
js
open fun form(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Form.() -> Unit): Form
h1
Link copied to clipboard
js
open fun h1(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: H.() -> Unit): H
h2
Link copied to clipboard
js
open fun h2(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: H.() -> Unit): H
h3
Link copied to clipboard
js
open fun h3(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: H.() -> Unit): H
h4
Link copied to clipboard
js
open fun h4(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: H.() -> Unit): H
h5
Link copied to clipboard
js
open fun h5(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: H.() -> Unit): H
h6
Link copied to clipboard
js
open fun h6(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: H.() -> Unit): H
handledBy
Link copied to clipboard
js
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(handler: Handler<Unit>)
Connects Events to a Handler.
open infix fun <E : Event> WindowListener<E>.handledBy(handler: Handler<Unit>)
Connects Events to a Handler.
open infix fun <A> Flow<A>.handledBy(handler: Handler<A>)
Connects a Flow to a Handler.
header
Link copied to clipboard
js
open fun header(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
hr
Link copied to clipboard
js
open fun hr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Hr.() -> Unit): Hr
i
Link copied to clipboard
js
open fun i(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
iframe
Link copied to clipboard
js
open fun iframe(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: IFrame.() -> Unit): IFrame
img
Link copied to clipboard
js
open fun img(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Img.() -> Unit): Img
input
Link copied to clipboard
js
open fun input(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Input.() -> Unit): Input
ins
Link copied to clipboard
js
open fun ins(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Ins.() -> Unit): Ins
kbd
Link copied to clipboard
js
open fun kbd(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
label
Link copied to clipboard
js
open fun label(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Label.() -> Unit): Label
legend
Link copied to clipboard
js
open fun legend(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Legend.() -> Unit): Legend
li
Link copied to clipboard
js
open fun li(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Li.() -> Unit): Li
main
Link copied to clipboard
js
open fun main(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
map
Link copied to clipboard
js
open fun map(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Map.() -> Unit): Map
mark
Link copied to clipboard
js
open fun mark(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
meter
Link copied to clipboard
js
open fun meter(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Meter.() -> Unit): Meter
nav
Link copied to clipboard
js
open fun nav(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
noscript
Link copied to clipboard
js
open fun noscript(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
object
Link copied to clipboard
js
open fun object(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Object.() -> Unit): Object
ol
Link copied to clipboard
js
open fun ol(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Ol.() -> Unit): Ol
optgroup
Link copied to clipboard
js
open fun optgroup(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Optgroup.() -> Unit): Optgroup
option
Link copied to clipboard
js
open fun option(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Option.() -> Unit): Option
output
Link copied to clipboard
js
open fun output(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Output.() -> Unit): Output
p
Link copied to clipboard
js
open fun p(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: P.() -> Unit): P
param
Link copied to clipboard
js
open fun param(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Param.() -> Unit): Param
picture
Link copied to clipboard
js
open fun picture(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Picture.() -> Unit): Picture
pre
Link copied to clipboard
js
open fun pre(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Pre.() -> Unit): Pre
progress
Link copied to clipboard
js
open fun progress(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Progress.() -> Unit): Progress
q
Link copied to clipboard
js
open fun q(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
quote
Link copied to clipboard
js
open fun quote(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Quote.() -> Unit): Quote
register
Link copied to clipboard
js
abstract fun <E : Element, T : WithDomNode<E>> register(element: T, content: (T) -> Unit): T
rp
Link copied to clipboard
js
open fun rp(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
rt
Link copied to clipboard
js
open fun rt(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
ruby
Link copied to clipboard
js
open fun ruby(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
s
Link copied to clipboard
js
open fun s(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
samp
Link copied to clipboard
js
open fun samp(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
script
Link copied to clipboard
js
open fun script(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Script.() -> Unit): Script
section
Link copied to clipboard
js
open fun section(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
select
Link copied to clipboard
js
open fun select(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Select.() -> Unit): Select
small
Link copied to clipboard
js
open fun small(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
span
Link copied to clipboard
js
open fun span(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Span.() -> Unit): Span
strong
Link copied to clipboard
js
open fun strong(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
sub
Link copied to clipboard
js
open fun sub(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
summary
Link copied to clipboard
js
open fun summary(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
sup
Link copied to clipboard
js
open fun sup(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
svg
Link copied to clipboard
js
open fun svg(baseClass: String?, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Svg.() -> Unit): Svg
table
Link copied to clipboard
js
open fun table(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Table.() -> Unit): Table
tbody
Link copied to clipboard
js
open fun tbody(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TBody.() -> Unit): TBody
td
Link copied to clipboard
js
open fun td(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Td.() -> Unit): Td
textarea
Link copied to clipboard
js
open fun textarea(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextArea.() -> Unit): TextArea
tfoot
Link copied to clipboard
js
open fun tfoot(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TFoot.() -> Unit): TFoot
th
Link copied to clipboard
js
open fun th(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Th.() -> Unit): Th
thead
Link copied to clipboard
js
open fun thead(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: THead.() -> Unit): THead
time
Link copied to clipboard
js
open fun time(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Time.() -> Unit): Time
tr
Link copied to clipboard
js
open fun tr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Tr.() -> Unit): Tr
track
Link copied to clipboard
js
open fun track(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Track.() -> Unit): Track
u
Link copied to clipboard
js
open fun u(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
ul
Link copied to clipboard
js
open fun ul(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Ul.() -> Unit): Ul
var
Link copied to clipboard
js
open fun var(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement
video
Link copied to clipboard
js
open fun video(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: Video.() -> Unit): Video
wbr
Link copied to clipboard
js
open fun wbr(baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: TextElement.() -> Unit): TextElement

Properties

job
Link copied to clipboard
js
abstract val job: Job
scope
Link copied to clipboard
js
abstract val scope: Scope

Inheritors

WithComment
Link copied to clipboard
Tag
Link copied to clipboard
WithText
Link copied to clipboard