Package dev. fritz2. dom
Types
CommentNode
Link copied to clipboard
class CommentNode(content: String, domNode: Comment) : WithDomNode<Comment>
Content copied to clipboard
DomLifecycleHandler
Link copied to clipboard
typealias DomLifecycleHandler = suspend (WithDomNode<Element>, Any?) -> Unit
Content copied to clipboard
DomListener
Link copied to clipboard
EventContext
Link copied to clipboard
HtmlTagMarker
Link copied to clipboard
MountPoint
Link copied to clipboard
interface MountPoint
Content copied to clipboard
External interface to access the MountPoint where the lifecycle of Tags and subtrees is handled.
Tag
Link copied to clipboard
open class Tag<out E : Element>(tagName: String, id: String?, baseClass: String?, job: Job, scope: Scope) : WithDomNode<E> , WithComment<E> , EventContext<E> , RenderContext
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
afterMount
Link copied to clipboard
fun <T : Element> Tag<T>.afterMount(payload: Any? = null, handler: DomLifecycleHandler)
Content copied to clipboard
Convenience method to register lifecycle handler for after a Tag is mounted
beforeUnmount
Link copied to clipboard
fun <T : Element> Tag<T>.beforeUnmount(payload: Any? = null, handler: DomLifecycleHandler)
Content copied to clipboard
Convenience method to register lifecycle handler for before a Tag is unmounted
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
mountPoint
Link 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