Tag
open class Tag<out E : Element>(tagName: String, id: String?, baseClass: String?, job: Job, domNode: E) : WithDomNode<E> , WithComment<E> , EventContext<E> , TagContext
Content copied to clipboard
Represents a tag in the resulting HTML. Sorry for the name, but we needed to delimit it from the Element it is wrapping.
Parameters
tagName
name of the tag. Used to create the corresponding Element
Constructors
Tag
Link copied to clipboard
fun <out E : Element> Tag(tagName: String, id: String? = null, baseClass: String? = null, job: Job, domNode: E = window.document.createElement(tagName).also { element ->
if (id != null) element.id = id
if (!baseClass.isNullOrBlank()) element.className = baseClass
}.unsafeCast<E>())
Content copied to clipboard
name of the tag.
Types
Functions
abbr
Link copied to clipboard
open fun abbr(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
address
Link copied to clipboard
open fun address(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
article
Link copied to clipboard
open fun article(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
aside
Link copied to clipboard
open fun aside(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
attr
Link copied to clipboard
b
Link copied to clipboard
open fun b(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
bdi
Link copied to clipboard
open fun bdi(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
bdo
Link copied to clipboard
open fun bdo(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
blockquote
Link copied to clipboard
open fun blockquote(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
cite
Link copied to clipboard
open fun cite(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
code
Link copied to clipboard
open fun code(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
command
Link copied to clipboard
open fun command(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
custom
Link copied to clipboard
open fun custom(tagName: String, content: RenderContext.() -> Unit): RenderContext
Content copied to clipboard
dd
Link copied to clipboard
open fun dd(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
dfn
Link copied to clipboard
open fun dfn(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
dt
Link copied to clipboard
open fun dt(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
em
Link copied to clipboard
open fun em(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
figcaption
Link copied to clipboard
open fun figcaption(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
figure
Link copied to clipboard
open fun figure(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
footer
Link copied to clipboard
open fun footer(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
handledBy
Link copied to clipboard
header
Link copied to clipboard
open fun header(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
i
Link copied to clipboard
open fun i(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
inlineStyle
Link copied to clipboard
kbd
Link copied to clipboard
open fun kbd(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
main
Link copied to clipboard
open fun main(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
mark
Link copied to clipboard
open fun mark(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
nav
Link copied to clipboard
open fun nav(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
noscript
Link copied to clipboard
open fun noscript(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
progress
Link copied to clipboard
q
Link copied to clipboard
open fun q(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
renderEach
Link copied to clipboard
fun <V> RootStore<List<V>>.renderEach(content: RenderContext.(SubStore<List<V>, List<V>, V>) -> RenderContext)
Content copied to clipboard
Renders each element of a Stores list content.
fun <V> Flow<List<V>>.renderEach(content: RenderContext.(V) -> RenderContext)
Content copied to clipboard
Renders each element of a List.
fun <V, I> Flow<List<V>>.renderEach(idProvider: IdProvider<V, I>, content: RenderContext.(V) -> RenderContext)
Content copied to clipboard
Renders each element of a List.
renderElement
Link copied to clipboard
fun <V> Flow<V>.renderElement(preserveOrder: Boolean = true, content: RenderContext.(V) -> RenderContext)
Content copied to clipboard
rp
Link copied to clipboard
open fun rp(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
rt
Link copied to clipboard
open fun rt(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
ruby
Link copied to clipboard
open fun ruby(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
s
Link copied to clipboard
open fun s(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
samp
Link copied to clipboard
open fun samp(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
section
Link copied to clipboard
open fun section(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
small
Link copied to clipboard
open fun small(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
strong
Link copied to clipboard
open fun strong(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
sub
Link copied to clipboard
open fun sub(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
summary
Link copied to clipboard
open fun summary(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
sup
Link copied to clipboard
open fun sup(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
u
Link copied to clipboard
open fun u(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
var
Link copied to clipboard
open fun var(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
wbr
Link copied to clipboard
open fun wbr(baseClass: String? = null, id: String? = null, content: TextElement.() -> Unit): TextElement
Content copied to clipboard
Properties
aborts
Link copied to clipboard
afterprints
Link copied to clipboard
beforeprints
Link copied to clipboard
beforeunloads
Link copied to clipboard
blurs
Link copied to clipboard
canplays
Link copied to clipboard
canplaythroughs
Link copied to clipboard
changes
Link copied to clipboard
clicks
Link copied to clipboard
contextmenus
Link copied to clipboard
copys
Link copied to clipboard
cuts
Link copied to clipboard
dblclicks
Link copied to clipboard
dragends
Link copied to clipboard
dragenters
Link copied to clipboard
dragleaves
Link copied to clipboard
dragovers
Link copied to clipboard
drags
Link copied to clipboard
dragstarts
Link copied to clipboard
drops
Link copied to clipboard
durationchanges
Link copied to clipboard
endeds
Link copied to clipboard
focusins
Link copied to clipboard
focusouts
Link copied to clipboard
focuss
Link copied to clipboard
fullscreenchanges
Link copied to clipboard
fullscreenerrors
Link copied to clipboard
hashchanges
Link copied to clipboard
inputs
Link copied to clipboard
invalids
Link copied to clipboard
keydowns
Link copied to clipboard
keypresss
Link copied to clipboard
keyups
Link copied to clipboard
loadeddatas
Link copied to clipboard
loadedmetadatas
Link copied to clipboard
loads
Link copied to clipboard
loadstarts
Link copied to clipboard
messages
Link copied to clipboard
mousedowns
Link copied to clipboard
mouseenters
Link copied to clipboard
mouseleaves
Link copied to clipboard
mousemoves
Link copied to clipboard
mouseouts
Link copied to clipboard
mouseovers
Link copied to clipboard
mouseups
Link copied to clipboard
offlines
Link copied to clipboard
onlines
Link copied to clipboard
opens
Link copied to clipboard
pagehides
Link copied to clipboard
pageshows
Link copied to clipboard
pastes
Link copied to clipboard
pauses
Link copied to clipboard
playings
Link copied to clipboard
plays
Link copied to clipboard
popstates
Link copied to clipboard
progresss
Link copied to clipboard
ratechanges
Link copied to clipboard
resets
Link copied to clipboard
resizes
Link copied to clipboard
scrolls
Link copied to clipboard
searchs
Link copied to clipboard
seekeds
Link copied to clipboard
seekings
Link copied to clipboard
selects
Link copied to clipboard
shows
Link copied to clipboard
stalleds
Link copied to clipboard
storages
Link copied to clipboard
submits
Link copied to clipboard
suspends
Link copied to clipboard
timeupdates
Link copied to clipboard
toggles
Link copied to clipboard
touchcancels
Link copied to clipboard
touchends
Link copied to clipboard
touchmoves
Link copied to clipboard
touchstarts
Link copied to clipboard
unloads
Link copied to clipboard
volumechanges
Link copied to clipboard
waitings
Link copied to clipboard
wheels
Link copied to clipboard
Inheritors
A
Link copied to clipboard
Area
Link copied to clipboard
Br
Link copied to clipboard
Button
Link copied to clipboard
Canvas
Link copied to clipboard
Dl
Link copied to clipboard
Data
Link copied to clipboard
DataList
Link copied to clipboard
Details
Link copied to clipboard
Dialog
Link copied to clipboard
Div
Link copied to clipboard
Embed
Link copied to clipboard
FieldSet
Link copied to clipboard
Form
Link copied to clipboard
Hr
Link copied to clipboard
H
Link copied to clipboard
IFrame
Link copied to clipboard
Img
Link copied to clipboard
Input
Link copied to clipboard
Li
Link copied to clipboard
Label
Link copied to clipboard
Legend
Link copied to clipboard
Map
Link copied to clipboard
Audio
Link copied to clipboard
Video
Link copied to clipboard
Meter
Link copied to clipboard
Ins
Link copied to clipboard
Del
Link copied to clipboard
Ol
Link copied to clipboard
Object
Link copied to clipboard
Optgroup
Link copied to clipboard
Option
Link copied to clipboard
Output
Link copied to clipboard
P
Link copied to clipboard
Param
Link copied to clipboard
Picture
Link copied to clipboard
Pre
Link copied to clipboard
Progress
Link copied to clipboard
Quote
Link copied to clipboard
Script
Link copied to clipboard
Select
Link copied to clipboard
Span
Link copied to clipboard
Caption
Link copied to clipboard
Th
Link copied to clipboard
Td
Link copied to clipboard
Col
Link copied to clipboard
Colgroup
Link copied to clipboard
Table
Link copied to clipboard
Tr
Link copied to clipboard
TFoot
Link copied to clipboard
THead
Link copied to clipboard
TBody
Link copied to clipboard
TextArea
Link copied to clipboard
Time
Link copied to clipboard
Track
Link copied to clipboard
Ul
Link copied to clipboard
Svg
Link copied to clipboard
TextElement
Link copied to clipboard