EventTarget

data class EventTarget(val id: String?, val className: List<String>, val type: String)

The node an event fired on — the joy-dom analog of the DOM event.target. id is the node's id prop (event.target.id), or null when it has none; className is its class list (empty when unset); type is its node type (div, img, a custom type, …), the analog of event.target.tagName.

Constructors

Link copied to clipboard
constructor(id: String?, className: List<String>, type: String)

Properties

Link copied to clipboard
Link copied to clipboard
val id: String?
Link copied to clipboard