Package dev. fritz2. dom
Types
CommentNode
Link copied to clipboard
class CommentNode(content: String, domNode: Comment) : WithDomNode<Comment>
Content copied to clipboard
DomListener
Link copied to clipboard
DummyContext
Link copied to clipboard
Implementation of RenderContext that just renders its children but does not add them anywhere to the Dom.
EventContext
Link copied to clipboard
HtmlTagMarker
Link copied to clipboard
ProxyContext
Link copied to clipboard
class ProxyContext<T : HTMLElement>(mountJob: Job, proxee: Tag<T>) : Tag<HTMLElement>
Content copied to clipboard
Implementation of RenderContext that forwards all registrations of children to the element it proxies.
Tag
Link copied to clipboard
open class Tag<out E : Element>(tagName: String, id: String?, baseClass: String?, job: Job, scope: Scope, domNode: E) : WithDomNode<E> , WithComment<E> , EventContext<E> , TagContext
Content copied to clipboard
WindowListener
Link copied to clipboard
WithComment
Link copied to clipboard
WithDomNode
Link copied to clipboard
WithEvents
Link copied to clipboard
WithText
Link copied to clipboard
Functions
enter
Link copied to clipboard
fun DomListener<KeyboardEvent, HTMLTextAreaElement>.enter(): Flow<String>
Content copied to clipboard
enterAsNumber
Link copied to clipboard
fun DomListener<KeyboardEvent, HTMLInputElement>.enterAsNumber(): Flow<Double>
Content copied to clipboard
files
Link copied to clipboard
insertMany
Link copied to clipboard
key
Link copied to clipboard
merge
Link copied to clipboard
mount
Link copied to clipboard
inline fun <V> TagContext.mount(into: RenderContext?, store: Store<List<V>>, crossinline content: RenderContext.(Store<V>) -> RenderContext)
Content copied to clipboard
inline fun <V> TagContext.mount(into: RenderContext?, upstream: Flow<V>, crossinline content: RenderContext.(V) -> Unit)
Content copied to clipboard
inline fun <V> TagContext.mount(into: RenderContext?, store: Store<List<V>>, noinline idProvider: IdProvider<V, *>, crossinline content: RenderContext.(Store<V>) -> RenderContext)
Content copied to clipboard
inline fun <V> TagContext.mount(into: RenderContext?, upstream: Flow<List<V>>, noinline idProvider: IdProvider<V, *>?, crossinline content: RenderContext.(V) -> RenderContext)
Content copied to clipboard
mountContext
Link copied to clipboard
Creates a Div as context for the mounted content using the given job and adds it to the receiver of this function inheriting its scope.
mountPatches
Link copied to clipboard
inline fun <V> TagContext.mountPatches(into: RenderContext?, upstream: Flow<List<V>>, crossinline createPatches: (Flow<List<V>>, MutableMap<Node, Job>) -> Flow<List<Patch<RenderContext>>>)
Content copied to clipboard
selectedIndex
Link copied to clipboard
selectedText
Link copied to clipboard
selectedValue
Link copied to clipboard
states
Link copied to clipboard
values
Link copied to clipboard
valuesAsNumber
Link copied to clipboard
fun DomListener<InputEvent, HTMLInputElement>.valuesAsNumber(): Flow<Double>
Content copied to clipboard