diff --git a/buildSrc/src/main/kotlin/kotlinx/html/generate/attributes.kt b/buildSrc/src/main/kotlin/kotlinx/html/generate/attributes.kt
index e7fca039..4c231835 100644
--- a/buildSrc/src/main/kotlin/kotlinx/html/generate/attributes.kt
+++ b/buildSrc/src/main/kotlin/kotlinx/html/generate/attributes.kt
@@ -45,14 +45,12 @@ fun Appendable.attributeProperty(
}
fun Appendable.facade(repository: Repository, facade: AttributeFacade) {
- val facadeName = facade.name.capitalize() + "Facade"
-
- clazz(Clazz(facadeName, isInterface = true, parents = listOf("Tag"))) {
+ clazz(Clazz(facade.className, isInterface = true, parents = facade.parents)) {
}
- facade.attributes.filter { !isAttributeExcluded(it.name) }.forEach { attribute ->
+ facade.declaredAttributes.filter { !isAttributeExcluded(it.name) }.forEach { attribute ->
if (attribute.name.isLowerCase() || attribute.name.lowercase() !in facade.attributeNames) {
- attributeProperty(repository, attribute, receiver = facadeName, indent = 0)
+ attributeProperty(repository, attribute, receiver = facade.className, indent = 0)
}
}
}
diff --git a/buildSrc/src/main/kotlin/kotlinx/html/generate/main.kt b/buildSrc/src/main/kotlin/kotlinx/html/generate/main.kt
index da244678..d53534db 100644
--- a/buildSrc/src/main/kotlin/kotlinx/html/generate/main.kt
+++ b/buildSrc/src/main/kotlin/kotlinx/html/generate/main.kt
@@ -80,7 +80,7 @@ fun generate(pkg: String, todir: String, jsdir: String, wasmJsDir: String) {
}
repository.attributeFacades.values.forEach { facade ->
- facade.attributes.filter { it.enumValues.isNotEmpty() }.filter { !isAttributeExcluded(it.name) }
+ facade.declaredAttributes.filter { it.enumValues.isNotEmpty() }.filter { !isAttributeExcluded(it.name) }
.forEach { attribute ->
genEnumAttribute(attribute)
}
@@ -307,17 +307,14 @@ private fun generateConsumerTags(
}
private fun generateEventAttrs(repository: Repository, file: String, pkg: String) {
- val isEventAttribute = { attributeName: String ->
- attributeName.startsWith("on")
- }
+ val isEventAttribute = { attributeName: String -> attributeName.startsWith("on") }
val properties = sequence {
repository
.attributeFacades
.filter { facade -> facade.value.attributeNames.any(isEventAttribute) }
.forEach { facade ->
facade.value.attributes.filter { it.name.startsWith("on") }.forEach {
- val parentName = facade.value.name.capitalize() + "Facade"
- val parent = ClassName("kotlinx.html", parentName)
+ val parent = ClassName("kotlinx.html", facade.value.className)
yield(eventProperty(parent, it, shouldUnsafeCast = false))
}
diff --git a/buildSrc/src/main/kotlin/kotlinx/html/generate/model.kt b/buildSrc/src/main/kotlin/kotlinx/html/generate/model.kt
index be98ff03..8ea43a65 100644
--- a/buildSrc/src/main/kotlin/kotlinx/html/generate/model.kt
+++ b/buildSrc/src/main/kotlin/kotlinx/html/generate/model.kt
@@ -26,7 +26,15 @@ class Repository {
var unionsByGroups: Map> = emptyMap()
}
-data class AttributeFacade(val name: String, val attributes: List, val required: Set) {
+data class AttributeFacade(
+ val name: String,
+ val declaredAttributes: List,
+ val required: Set,
+ val inheritedFacades: List,
+) {
+ val className = name.capitalize() + "Facade"
+ val attributes: List = declaredAttributes + inheritedFacades.flatMap { it.attributes }
+ val parents = if (inheritedFacades.isNotEmpty()) inheritedFacades.map { it.className } else listOf("Tag")
val attributeNames = attributes.map { it.name }.toSet()
}
diff --git a/buildSrc/src/main/kotlin/kotlinx/html/generate/parent-ifaces-gen.kt b/buildSrc/src/main/kotlin/kotlinx/html/generate/parent-ifaces-gen.kt
index d50d9b9a..0e373e54 100644
--- a/buildSrc/src/main/kotlin/kotlinx/html/generate/parent-ifaces-gen.kt
+++ b/buildSrc/src/main/kotlin/kotlinx/html/generate/parent-ifaces-gen.kt
@@ -5,7 +5,7 @@ import java.util.*
fun generateParentInterfaces(repository: Repository, todir: String, packg: String) {
val allParentIfaces = repository.tags.values.filterIgnored().map { tag ->
- val parentAttributeIfaces = tag.attributeGroups.map { it.name.humanize().capitalize() + "Facade" }
+ val parentAttributeIfaces = tag.attributeGroups.map { it.className }
val parentElementIfaces = tag.tagGroupNames.map { it.humanize().capitalize() }
val sum = parentAttributeIfaces + parentElementIfaces
diff --git a/buildSrc/src/main/kotlin/kotlinx/html/generate/tagsgen.kt b/buildSrc/src/main/kotlin/kotlinx/html/generate/tagsgen.kt
index 2cca3782..349b1580 100644
--- a/buildSrc/src/main/kotlin/kotlinx/html/generate/tagsgen.kt
+++ b/buildSrc/src/main/kotlin/kotlinx/html/generate/tagsgen.kt
@@ -16,7 +16,7 @@ private const val BLOCK_LAMBDA = "block"
private const val CONTENT_LAMBDA = "{+content}"
fun Appendable.tagClass(repository: Repository, tag: TagInfo, excludeAttributes: Set) {
- val parentAttributeIfaces = tag.attributeGroups.map { it.name.capitalize() + "Facade" }
+ val parentAttributeIfaces = tag.attributeGroups.map { it.className }
val parentElementIfaces = tag.tagGroupNames.map { it.humanize().capitalize() }
val allParentIfaces = parentAttributeIfaces + parentElementIfaces
val betterParentIfaces = humanizeJoin(allParentIfaces)
diff --git a/buildSrc/src/main/kotlin/kotlinx/html/generate/xsdparser.kt b/buildSrc/src/main/kotlin/kotlinx/html/generate/xsdparser.kt
index 971796d3..95d489bb 100644
--- a/buildSrc/src/main/kotlin/kotlinx/html/generate/xsdparser.kt
+++ b/buildSrc/src/main/kotlin/kotlinx/html/generate/xsdparser.kt
@@ -31,11 +31,13 @@ fun handleAttributeDeclaration(prefix: String, attributeDeclaration: XSAttribute
if (type.isUnion) {
val enumEntries = type.asUnion()
- .filter { it.isRestriction }
- .map { it.asRestriction() }
- .flatMap { it.declaredFacets ?: emptyList() }
- .filter { it.name == "enumeration" }
- .map { it.value.value }
+ .asSequence()
+ .filter { it.isRestriction }
+ .map { it.asRestriction() }
+ .flatMap { it.declaredFacets ?: emptyList() }
+ .filter { it.name == "enumeration" }
+ .map { it.value.value }
+ .toList()
return AttributeInfo(name, AttributeType.STRING, enumValues = enumEntries.toAttributeValues(), enumTypeName = prefix.capitalize() + name.humanize().capitalize())
} else if (type.isPrimitive || type.name in setOf("integer", "string", "boolean", "decimal")) {
@@ -74,13 +76,36 @@ fun AttributeInfo.handleSpecialType(tagName: String = ""): AttributeInfo = speci
this.copy(type = type)
} ?: this
+private fun parseAttributeFacade(repository: Repository, attributeGroup: XSAttGroupDecl): AttributeFacade {
+ val requiredNames = HashSet()
+ val facadeAttributes = attributeGroup.declaredAttributeUses.map { attributeUse ->
+ val attributeDeclaration = attributeUse.decl
+ if (attributeUse.isRequired) {
+ requiredNames.add(attributeDeclaration.name)
+ }
+
+ handleAttributeDeclaration("", attributeDeclaration).handleSpecialType()
+ }.filter { !it.name.startsWith("On") }.sortedBy { it.name }
+ val inheritedFacades = attributeGroup.attGroups.map { parseAttributeFacade(repository, it) }
+ inheritedFacades.forEach { repository.attributeFacades[it.name] = it }
+ return AttributeFacade(attributeGroup.name, facadeAttributes, requiredNames, inheritedFacades)
+}
+
fun fillRepository(repository: Repository) {
val parser = XSOMParser(SAXParserFactory.newInstance())
parser.parse(SCHEME_URL)
val schema = parser.result.getSchema(HTML_NAMESPACE)
- val alreadyIncluded = TreeSet { a, b -> a.compareTo(b, true) }
schema.attGroupDecls.values.sortedByDescending { it.attributeUses.size }.forEach { attributeGroup ->
+ if (!repository.attributeFacades.containsKey(attributeGroup.name)) {
+ repository.attributeFacades[attributeGroup.name] = parseAttributeFacade(repository, attributeGroup)
+ }
+ /*
+ repository.attributeFacades.computeIfAbsent(attributeGroup.name) { _ ->
+ parseAttributeFacade(repository, attributeGroup)
+ }
+ */
+ /*
val requiredNames = HashSet()
val facadeAttributes = attributeGroup.attributeUses.map { attributeUse ->
val attributeDeclaration = attributeUse.decl
@@ -96,9 +121,10 @@ fun fillRepository(repository: Repository) {
val name = attributeGroup.name
if (facadeAttributes.isNotEmpty()) {
- repository.attributeFacades[name] = AttributeFacade(name, facadeAttributes, requiredNames)
+ repository.attributeFacades[name] = AttributeFacade(name, facadeAttributes, requiredNames, emptyList())
alreadyIncluded.addAll(facadeAttributes.map { it.name })
}
+ */
}
schema.modelGroupDecls.values.forEach { modelGroupDeclaration ->
@@ -120,16 +146,20 @@ fun fillRepository(repository: Repository) {
val name = elementDeclaration.name
val type = elementDeclaration.type
val suggestedNames = HashSet()
- globalSuggestedAttributes.get(name)?.let {
- suggestedNames.addAll(it.filter { !it.startsWith("-") })
+ globalSuggestedAttributes[name]?.let { attributes ->
+ suggestedNames.addAll(attributes.filter { !it.startsWith("-") })
}
- val excluded = globalSuggestedAttributes.get(name)?.filter { it.startsWith("-") }?.map { it.removePrefix("-") } ?: emptyList()
+ val excluded = globalSuggestedAttributes[name]
+ ?.filter { it.startsWith("-") }
+ ?.map { it.removePrefix("-") }
+ ?.toSet()
+ ?: emptySet()
val tagInfo: TagInfo
if (type.isComplexType) {
val complex = type.asComplexType()
- val groupDeclarations = complex.attGroups.flatMap { flattenGroups(it) }.distinct().toList()
- val attributeGroups = groupDeclarations.map { repository.attributeFacades[it.name] }.filterNotNull()
+ val groupDeclarations = complex.attGroups.distinct().sortedBy { it.name }
+ val attributeGroups = groupDeclarations.mapNotNull { repository.attributeFacades[it.name] }
val attributes = complex.declaredAttributeUses.map {
if (it.isRequired) {
@@ -146,7 +176,13 @@ fun fillRepository(repository: Repository) {
if (contentTerm != null) {
flattenTerm(contentTerm, children, modelGroupNames)
if (contentTerm.isModelGroup) {
- directChildren.addAll(contentTerm.asModelGroup().children.map { it.term }.filter { it.isElementDecl }.map { it.asElementDecl().name })
+ directChildren.addAll(
+ contentTerm.asModelGroup()
+ .children
+ .map { it.term }
+ .filter { it.isElementDecl }
+ .map { it.asElementDecl().name },
+ )
}
}
@@ -157,7 +193,15 @@ fun fillRepository(repository: Repository) {
suggestedNames.addAll(attributeGroups.flatMap { it.attributes }.filter { it.name in globalSuggestedAttributeNames }.map { it.name })
suggestedNames.removeAll(excluded)
- tagInfo = TagInfo(name, children.toList().sorted(), directChildren, attributeGroups, attributes, suggestedNames, modelGroupNames.sorted().toList())
+ tagInfo = TagInfo(
+ name = name,
+ possibleChildren = children.toList().sorted(),
+ directChildren = directChildren,
+ attributeGroups = attributeGroups,
+ attributes = attributes,
+ suggestedAttributes = suggestedNames,
+ tagGroupNames = modelGroupNames.sorted(),
+ )
} else {
throw UnsupportedOperationException()
}
@@ -172,4 +216,4 @@ private val xsdToType = mapOf(
"boolean" to AttributeType.BOOLEAN,
"string" to AttributeType.STRING,
"anyURI" to AttributeType.STRING // TODO links
-)
\ No newline at end of file
+)
diff --git a/src/commonMain/kotlin/generated/gen-attr-traits.kt b/src/commonMain/kotlin/generated/gen-attr-traits.kt
index 94cea9bc..6e93340a 100644
--- a/src/commonMain/kotlin/generated/gen-attr-traits.kt
+++ b/src/commonMain/kotlin/generated/gen-attr-traits.kt
@@ -8,357 +8,380 @@ import kotlinx.html.impl.*
This file was generated by module generate
*******************************************************************************/
-interface CommonAttributeGroupFacade : Tag {
+interface AServerAttributeGroupFacade : Tag {
}
-var CommonAttributeGroupFacade.enableTheming : Boolean
- get() = attributeBooleanBoolean[this, "EnableTheming"]
- set(newValue) {attributeBooleanBoolean[this, "EnableTheming"] = newValue}
-
-var CommonAttributeGroupFacade.enableViewState : Boolean
- get() = attributeBooleanBoolean[this, "EnableViewState"]
- set(newValue) {attributeBooleanBoolean[this, "EnableViewState"] = newValue}
-
-var CommonAttributeGroupFacade.skinID : String
- get() = attributeStringString[this, "SkinID"]
- set(newValue) {attributeStringString[this, "SkinID"] = newValue}
-
-var CommonAttributeGroupFacade.visible : Boolean
- get() = attributeBooleanBoolean[this, "Visible"]
- set(newValue) {attributeBooleanBoolean[this, "Visible"] = newValue}
-
-var CommonAttributeGroupFacade.accessKey : String
- get() = attributeStringString[this, "accesskey"]
- set(newValue) {attributeStringString[this, "accesskey"] = newValue}
-
-var CommonAttributeGroupFacade.classes : Set
- get() = attributeSetStringStringSet[this, "class"]
- set(newValue) {attributeSetStringStringSet[this, "class"] = newValue}
-
-var CommonAttributeGroupFacade.contentEditable : Boolean
- get() = attributeBooleanBoolean[this, "contenteditable"]
- set(newValue) {attributeBooleanBoolean[this, "contenteditable"] = newValue}
-
-var CommonAttributeGroupFacade.contextMenu : String
- get() = attributeStringString[this, "contextmenu"]
- set(newValue) {attributeStringString[this, "contextmenu"] = newValue}
-
-var CommonAttributeGroupFacade.dataFolderName : String
- get() = attributeStringString[this, "data-FolderName"]
- set(newValue) {attributeStringString[this, "data-FolderName"] = newValue}
-var CommonAttributeGroupFacade.dataMsgId : String
- get() = attributeStringString[this, "data-MsgId"]
- set(newValue) {attributeStringString[this, "data-MsgId"] = newValue}
-
-var CommonAttributeGroupFacade.dir : Dir
- get() = attributeDirEnumDirValues[this, "dir"]
- set(newValue) {attributeDirEnumDirValues[this, "dir"] = newValue}
-
-var CommonAttributeGroupFacade.draggable : Draggable
- get() = attributeDraggableEnumDraggableValues[this, "draggable"]
- set(newValue) {attributeDraggableEnumDraggableValues[this, "draggable"] = newValue}
-
-var CommonAttributeGroupFacade.hidden : Boolean
- get() = attributeBooleanTicker[this, "hidden"]
- set(newValue) {attributeBooleanTicker[this, "hidden"] = newValue}
+interface ButtonServerAttributeGroupFacade : Tag {
+}
+var ButtonServerAttributeGroupFacade.causesValidation : Boolean
+ get() = attributeBooleanBoolean[this, "CausesValidation"]
+ set(newValue) {attributeBooleanBoolean[this, "CausesValidation"] = newValue}
-var CommonAttributeGroupFacade.id : String
- get() = attributeStringString[this, "id"]
- set(newValue) {attributeStringString[this, "id"] = newValue}
+var ButtonServerAttributeGroupFacade.validationGroup : String
+ get() = attributeStringString[this, "ValidationGroup"]
+ set(newValue) {attributeStringString[this, "ValidationGroup"] = newValue}
-var CommonAttributeGroupFacade.itemProp : String
- get() = attributeStringString[this, "itemprop"]
- set(newValue) {attributeStringString[this, "itemprop"] = newValue}
-var CommonAttributeGroupFacade.lang : String
- get() = attributeStringString[this, "lang"]
- set(newValue) {attributeStringString[this, "lang"] = newValue}
+interface CommonAttributeGroupFacade : CoreServerAttributeGroupFacade, CoreAttributeGroupFacade, CommonEventsGroupFacade {
+}
-var CommonAttributeGroupFacade.onAbort : String
+interface CommonEventsGroupFacade : Tag {
+}
+var CommonEventsGroupFacade.onAbort : String
get() = attributeStringString[this, "onabort"]
set(newValue) {attributeStringString[this, "onabort"] = newValue}
-var CommonAttributeGroupFacade.onBlur : String
+var CommonEventsGroupFacade.onBlur : String
get() = attributeStringString[this, "onblur"]
set(newValue) {attributeStringString[this, "onblur"] = newValue}
-var CommonAttributeGroupFacade.onCanPlay : String
+var CommonEventsGroupFacade.onCanPlay : String
get() = attributeStringString[this, "oncanplay"]
set(newValue) {attributeStringString[this, "oncanplay"] = newValue}
-var CommonAttributeGroupFacade.onCanPlayThrough : String
+var CommonEventsGroupFacade.onCanPlayThrough : String
get() = attributeStringString[this, "oncanplaythrough"]
set(newValue) {attributeStringString[this, "oncanplaythrough"] = newValue}
-var CommonAttributeGroupFacade.onChange : String
+var CommonEventsGroupFacade.onChange : String
get() = attributeStringString[this, "onchange"]
set(newValue) {attributeStringString[this, "onchange"] = newValue}
-var CommonAttributeGroupFacade.onClick : String
+var CommonEventsGroupFacade.onClick : String
get() = attributeStringString[this, "onclick"]
set(newValue) {attributeStringString[this, "onclick"] = newValue}
-var CommonAttributeGroupFacade.onContextMenu : String
+var CommonEventsGroupFacade.onContextMenu : String
get() = attributeStringString[this, "oncontextmenu"]
set(newValue) {attributeStringString[this, "oncontextmenu"] = newValue}
-var CommonAttributeGroupFacade.onDoubleClick : String
+var CommonEventsGroupFacade.onDoubleClick : String
get() = attributeStringString[this, "ondblclick"]
set(newValue) {attributeStringString[this, "ondblclick"] = newValue}
-var CommonAttributeGroupFacade.onDrag : String
+var CommonEventsGroupFacade.onDrag : String
get() = attributeStringString[this, "ondrag"]
set(newValue) {attributeStringString[this, "ondrag"] = newValue}
-var CommonAttributeGroupFacade.onDragEnd : String
+var CommonEventsGroupFacade.onDragEnd : String
get() = attributeStringString[this, "ondragend"]
set(newValue) {attributeStringString[this, "ondragend"] = newValue}
-var CommonAttributeGroupFacade.onDragEnter : String
+var CommonEventsGroupFacade.onDragEnter : String
get() = attributeStringString[this, "ondragenter"]
set(newValue) {attributeStringString[this, "ondragenter"] = newValue}
-var CommonAttributeGroupFacade.onDragLeave : String
+var CommonEventsGroupFacade.onDragLeave : String
get() = attributeStringString[this, "ondragleave"]
set(newValue) {attributeStringString[this, "ondragleave"] = newValue}
-var CommonAttributeGroupFacade.onDragOver : String
+var CommonEventsGroupFacade.onDragOver : String
get() = attributeStringString[this, "ondragover"]
set(newValue) {attributeStringString[this, "ondragover"] = newValue}
-var CommonAttributeGroupFacade.onDragStart : String
+var CommonEventsGroupFacade.onDragStart : String
get() = attributeStringString[this, "ondragstart"]
set(newValue) {attributeStringString[this, "ondragstart"] = newValue}
-var CommonAttributeGroupFacade.onDrop : String
+var CommonEventsGroupFacade.onDrop : String
get() = attributeStringString[this, "ondrop"]
set(newValue) {attributeStringString[this, "ondrop"] = newValue}
-var CommonAttributeGroupFacade.onDurationChange : String
+var CommonEventsGroupFacade.onDurationChange : String
get() = attributeStringString[this, "ondurationchange"]
set(newValue) {attributeStringString[this, "ondurationchange"] = newValue}
-var CommonAttributeGroupFacade.onEmptied : String
+var CommonEventsGroupFacade.onEmptied : String
get() = attributeStringString[this, "onemptied"]
set(newValue) {attributeStringString[this, "onemptied"] = newValue}
-var CommonAttributeGroupFacade.onEnded : String
+var CommonEventsGroupFacade.onEnded : String
get() = attributeStringString[this, "onended"]
set(newValue) {attributeStringString[this, "onended"] = newValue}
-var CommonAttributeGroupFacade.onError : String
+var CommonEventsGroupFacade.onError : String
get() = attributeStringString[this, "onerror"]
set(newValue) {attributeStringString[this, "onerror"] = newValue}
-var CommonAttributeGroupFacade.onFocus : String
+var CommonEventsGroupFacade.onFocus : String
get() = attributeStringString[this, "onfocus"]
set(newValue) {attributeStringString[this, "onfocus"] = newValue}
-var CommonAttributeGroupFacade.onFocusIn : String
+var CommonEventsGroupFacade.onFocusIn : String
get() = attributeStringString[this, "onfocusin"]
set(newValue) {attributeStringString[this, "onfocusin"] = newValue}
-var CommonAttributeGroupFacade.onFocusOut : String
+var CommonEventsGroupFacade.onFocusOut : String
get() = attributeStringString[this, "onfocusout"]
set(newValue) {attributeStringString[this, "onfocusout"] = newValue}
-var CommonAttributeGroupFacade.onFormChange : String
+var CommonEventsGroupFacade.onFormChange : String
get() = attributeStringString[this, "onformchange"]
set(newValue) {attributeStringString[this, "onformchange"] = newValue}
-var CommonAttributeGroupFacade.onFormInput : String
+var CommonEventsGroupFacade.onFormInput : String
get() = attributeStringString[this, "onforminput"]
set(newValue) {attributeStringString[this, "onforminput"] = newValue}
-var CommonAttributeGroupFacade.onInput : String
+var CommonEventsGroupFacade.onInput : String
get() = attributeStringString[this, "oninput"]
set(newValue) {attributeStringString[this, "oninput"] = newValue}
-var CommonAttributeGroupFacade.onInvalid : String
+var CommonEventsGroupFacade.onInvalid : String
get() = attributeStringString[this, "oninvalid"]
set(newValue) {attributeStringString[this, "oninvalid"] = newValue}
-var CommonAttributeGroupFacade.onKeyDown : String
+var CommonEventsGroupFacade.onKeyDown : String
get() = attributeStringString[this, "onkeydown"]
set(newValue) {attributeStringString[this, "onkeydown"] = newValue}
-var CommonAttributeGroupFacade.onKeyPress : String
+var CommonEventsGroupFacade.onKeyPress : String
get() = attributeStringString[this, "onkeypress"]
set(newValue) {attributeStringString[this, "onkeypress"] = newValue}
-var CommonAttributeGroupFacade.onKeyUp : String
+var CommonEventsGroupFacade.onKeyUp : String
get() = attributeStringString[this, "onkeyup"]
set(newValue) {attributeStringString[this, "onkeyup"] = newValue}
-var CommonAttributeGroupFacade.onLoad : String
+var CommonEventsGroupFacade.onLoad : String
get() = attributeStringString[this, "onload"]
set(newValue) {attributeStringString[this, "onload"] = newValue}
-var CommonAttributeGroupFacade.onLoadedData : String
+var CommonEventsGroupFacade.onLoadedData : String
get() = attributeStringString[this, "onloadeddata"]
set(newValue) {attributeStringString[this, "onloadeddata"] = newValue}
-var CommonAttributeGroupFacade.onLoadedMetaData : String
+var CommonEventsGroupFacade.onLoadedMetaData : String
get() = attributeStringString[this, "onloadedmetadata"]
set(newValue) {attributeStringString[this, "onloadedmetadata"] = newValue}
-var CommonAttributeGroupFacade.onLoadStart : String
+var CommonEventsGroupFacade.onLoadStart : String
get() = attributeStringString[this, "onloadstart"]
set(newValue) {attributeStringString[this, "onloadstart"] = newValue}
-var CommonAttributeGroupFacade.onMouseDown : String
+var CommonEventsGroupFacade.onMouseDown : String
get() = attributeStringString[this, "onmousedown"]
set(newValue) {attributeStringString[this, "onmousedown"] = newValue}
-var CommonAttributeGroupFacade.onMouseEnter : String
+var CommonEventsGroupFacade.onMouseEnter : String
get() = attributeStringString[this, "onmouseenter"]
set(newValue) {attributeStringString[this, "onmouseenter"] = newValue}
-var CommonAttributeGroupFacade.onMouseLeave : String
+var CommonEventsGroupFacade.onMouseLeave : String
get() = attributeStringString[this, "onmouseleave"]
set(newValue) {attributeStringString[this, "onmouseleave"] = newValue}
-var CommonAttributeGroupFacade.onMouseMove : String
+var CommonEventsGroupFacade.onMouseMove : String
get() = attributeStringString[this, "onmousemove"]
set(newValue) {attributeStringString[this, "onmousemove"] = newValue}
-var CommonAttributeGroupFacade.onMouseOut : String
+var CommonEventsGroupFacade.onMouseOut : String
get() = attributeStringString[this, "onmouseout"]
set(newValue) {attributeStringString[this, "onmouseout"] = newValue}
-var CommonAttributeGroupFacade.onMouseOver : String
+var CommonEventsGroupFacade.onMouseOver : String
get() = attributeStringString[this, "onmouseover"]
set(newValue) {attributeStringString[this, "onmouseover"] = newValue}
-var CommonAttributeGroupFacade.onMouseUp : String
+var CommonEventsGroupFacade.onMouseUp : String
get() = attributeStringString[this, "onmouseup"]
set(newValue) {attributeStringString[this, "onmouseup"] = newValue}
-var CommonAttributeGroupFacade.onMouseWheel : String
+var CommonEventsGroupFacade.onMouseWheel : String
get() = attributeStringString[this, "onmousewheel"]
set(newValue) {attributeStringString[this, "onmousewheel"] = newValue}
-var CommonAttributeGroupFacade.onPause : String
+var CommonEventsGroupFacade.onPause : String
get() = attributeStringString[this, "onpause"]
set(newValue) {attributeStringString[this, "onpause"] = newValue}
-var CommonAttributeGroupFacade.onPlay : String
+var CommonEventsGroupFacade.onPlay : String
get() = attributeStringString[this, "onplay"]
set(newValue) {attributeStringString[this, "onplay"] = newValue}
-var CommonAttributeGroupFacade.onPlaying : String
+var CommonEventsGroupFacade.onPlaying : String
get() = attributeStringString[this, "onplaying"]
set(newValue) {attributeStringString[this, "onplaying"] = newValue}
-var CommonAttributeGroupFacade.onProgress : String
+var CommonEventsGroupFacade.onProgress : String
get() = attributeStringString[this, "onprogress"]
set(newValue) {attributeStringString[this, "onprogress"] = newValue}
-var CommonAttributeGroupFacade.onRateChange : String
+var CommonEventsGroupFacade.onRateChange : String
get() = attributeStringString[this, "onratechange"]
set(newValue) {attributeStringString[this, "onratechange"] = newValue}
-var CommonAttributeGroupFacade.onReadyStateChange : String
+var CommonEventsGroupFacade.onReadyStateChange : String
get() = attributeStringString[this, "onreadystatechange"]
set(newValue) {attributeStringString[this, "onreadystatechange"] = newValue}
-var CommonAttributeGroupFacade.onScroll : String
+var CommonEventsGroupFacade.onScroll : String
get() = attributeStringString[this, "onscroll"]
set(newValue) {attributeStringString[this, "onscroll"] = newValue}
-var CommonAttributeGroupFacade.onSearch : String
+var CommonEventsGroupFacade.onSearch : String
get() = attributeStringString[this, "onsearch"]
set(newValue) {attributeStringString[this, "onsearch"] = newValue}
-var CommonAttributeGroupFacade.onSeeked : String
+var CommonEventsGroupFacade.onSeeked : String
get() = attributeStringString[this, "onseeked"]
set(newValue) {attributeStringString[this, "onseeked"] = newValue}
-var CommonAttributeGroupFacade.onSeeking : String
+var CommonEventsGroupFacade.onSeeking : String
get() = attributeStringString[this, "onseeking"]
set(newValue) {attributeStringString[this, "onseeking"] = newValue}
-var CommonAttributeGroupFacade.onSelect : String
+var CommonEventsGroupFacade.onSelect : String
get() = attributeStringString[this, "onselect"]
set(newValue) {attributeStringString[this, "onselect"] = newValue}
-var CommonAttributeGroupFacade.onShow : String
+var CommonEventsGroupFacade.onShow : String
get() = attributeStringString[this, "onshow"]
set(newValue) {attributeStringString[this, "onshow"] = newValue}
-var CommonAttributeGroupFacade.onStalled : String
+var CommonEventsGroupFacade.onStalled : String
get() = attributeStringString[this, "onstalled"]
set(newValue) {attributeStringString[this, "onstalled"] = newValue}
-var CommonAttributeGroupFacade.onSubmit : String
+var CommonEventsGroupFacade.onSubmit : String
get() = attributeStringString[this, "onsubmit"]
set(newValue) {attributeStringString[this, "onsubmit"] = newValue}
-var CommonAttributeGroupFacade.onSuspend : String
+var CommonEventsGroupFacade.onSuspend : String
get() = attributeStringString[this, "onsuspend"]
set(newValue) {attributeStringString[this, "onsuspend"] = newValue}
-var CommonAttributeGroupFacade.onTimeUpdate : String
+var CommonEventsGroupFacade.onTimeUpdate : String
get() = attributeStringString[this, "ontimeupdate"]
set(newValue) {attributeStringString[this, "ontimeupdate"] = newValue}
-var CommonAttributeGroupFacade.onTouchCancel : String
+var CommonEventsGroupFacade.onTouchCancel : String
get() = attributeStringString[this, "ontouchcancel"]
set(newValue) {attributeStringString[this, "ontouchcancel"] = newValue}
-var CommonAttributeGroupFacade.onTouchEnd : String
+var CommonEventsGroupFacade.onTouchEnd : String
get() = attributeStringString[this, "ontouchend"]
set(newValue) {attributeStringString[this, "ontouchend"] = newValue}
-var CommonAttributeGroupFacade.onTouchMove : String
+var CommonEventsGroupFacade.onTouchMove : String
get() = attributeStringString[this, "ontouchmove"]
set(newValue) {attributeStringString[this, "ontouchmove"] = newValue}
-var CommonAttributeGroupFacade.onTouchStart : String
+var CommonEventsGroupFacade.onTouchStart : String
get() = attributeStringString[this, "ontouchstart"]
set(newValue) {attributeStringString[this, "ontouchstart"] = newValue}
-var CommonAttributeGroupFacade.onVolumeChange : String
+var CommonEventsGroupFacade.onVolumeChange : String
get() = attributeStringString[this, "onvolumechange"]
set(newValue) {attributeStringString[this, "onvolumechange"] = newValue}
-var CommonAttributeGroupFacade.onWaiting : String
+var CommonEventsGroupFacade.onWaiting : String
get() = attributeStringString[this, "onwaiting"]
set(newValue) {attributeStringString[this, "onwaiting"] = newValue}
-var CommonAttributeGroupFacade.onWheel : String
+var CommonEventsGroupFacade.onWheel : String
get() = attributeStringString[this, "onwheel"]
set(newValue) {attributeStringString[this, "onwheel"] = newValue}
-var CommonAttributeGroupFacade.role : String
+
+interface CoreAttributeGroupFacade : Tag {
+}
+var CoreAttributeGroupFacade.accessKey : String
+ get() = attributeStringString[this, "accesskey"]
+ set(newValue) {attributeStringString[this, "accesskey"] = newValue}
+
+var CoreAttributeGroupFacade.classes : Set
+ get() = attributeSetStringStringSet[this, "class"]
+ set(newValue) {attributeSetStringStringSet[this, "class"] = newValue}
+
+var CoreAttributeGroupFacade.contentEditable : Boolean
+ get() = attributeBooleanBoolean[this, "contenteditable"]
+ set(newValue) {attributeBooleanBoolean[this, "contenteditable"] = newValue}
+
+var CoreAttributeGroupFacade.contextMenu : String
+ get() = attributeStringString[this, "contextmenu"]
+ set(newValue) {attributeStringString[this, "contextmenu"] = newValue}
+
+var CoreAttributeGroupFacade.dataFolderName : String
+ get() = attributeStringString[this, "data-FolderName"]
+ set(newValue) {attributeStringString[this, "data-FolderName"] = newValue}
+
+var CoreAttributeGroupFacade.dataMsgId : String
+ get() = attributeStringString[this, "data-MsgId"]
+ set(newValue) {attributeStringString[this, "data-MsgId"] = newValue}
+
+var CoreAttributeGroupFacade.dir : Dir
+ get() = attributeDirEnumDirValues[this, "dir"]
+ set(newValue) {attributeDirEnumDirValues[this, "dir"] = newValue}
+
+var CoreAttributeGroupFacade.draggable : Draggable
+ get() = attributeDraggableEnumDraggableValues[this, "draggable"]
+ set(newValue) {attributeDraggableEnumDraggableValues[this, "draggable"] = newValue}
+
+var CoreAttributeGroupFacade.hidden : Boolean
+ get() = attributeBooleanTicker[this, "hidden"]
+ set(newValue) {attributeBooleanTicker[this, "hidden"] = newValue}
+
+var CoreAttributeGroupFacade.id : String
+ get() = attributeStringString[this, "id"]
+ set(newValue) {attributeStringString[this, "id"] = newValue}
+
+var CoreAttributeGroupFacade.itemProp : String
+ get() = attributeStringString[this, "itemprop"]
+ set(newValue) {attributeStringString[this, "itemprop"] = newValue}
+
+var CoreAttributeGroupFacade.lang : String
+ get() = attributeStringString[this, "lang"]
+ set(newValue) {attributeStringString[this, "lang"] = newValue}
+
+var CoreAttributeGroupFacade.role : String
get() = attributeStringString[this, "role"]
set(newValue) {attributeStringString[this, "role"] = newValue}
-var CommonAttributeGroupFacade.runAt : RunAt
+var CoreAttributeGroupFacade.runAt : RunAt
get() = attributeRunAtEnumRunAtValues[this, "runat"]
set(newValue) {attributeRunAtEnumRunAtValues[this, "runat"] = newValue}
-var CommonAttributeGroupFacade.spellCheck : Boolean
+var CoreAttributeGroupFacade.spellCheck : Boolean
get() = attributeBooleanBoolean[this, "spellcheck"]
set(newValue) {attributeBooleanBoolean[this, "spellcheck"] = newValue}
-var CommonAttributeGroupFacade.style : String
+var CoreAttributeGroupFacade.style : String
get() = attributeStringString[this, "style"]
set(newValue) {attributeStringString[this, "style"] = newValue}
-var CommonAttributeGroupFacade.subject : String
+var CoreAttributeGroupFacade.subject : String
get() = attributeStringString[this, "subject"]
set(newValue) {attributeStringString[this, "subject"] = newValue}
-var CommonAttributeGroupFacade.tabIndex : String
+var CoreAttributeGroupFacade.tabIndex : String
get() = attributeStringString[this, "tabIndex"]
set(newValue) {attributeStringString[this, "tabIndex"] = newValue}
-var CommonAttributeGroupFacade.title : String
+var CoreAttributeGroupFacade.title : String
get() = attributeStringString[this, "title"]
set(newValue) {attributeStringString[this, "title"] = newValue}
+interface CoreServerAttributeGroupFacade : Tag {
+}
+var CoreServerAttributeGroupFacade.enableTheming : Boolean
+ get() = attributeBooleanBoolean[this, "EnableTheming"]
+ set(newValue) {attributeBooleanBoolean[this, "EnableTheming"] = newValue}
+
+var CoreServerAttributeGroupFacade.enableViewState : Boolean
+ get() = attributeBooleanBoolean[this, "EnableViewState"]
+ set(newValue) {attributeBooleanBoolean[this, "EnableViewState"] = newValue}
+
+var CoreServerAttributeGroupFacade.skinID : String
+ get() = attributeStringString[this, "SkinID"]
+ set(newValue) {attributeStringString[this, "SkinID"] = newValue}
+
+var CoreServerAttributeGroupFacade.visible : Boolean
+ get() = attributeBooleanBoolean[this, "Visible"]
+ set(newValue) {attributeBooleanBoolean[this, "Visible"] = newValue}
+
+
interface FormServerAttributeGroupFacade : Tag {
}
var FormServerAttributeGroupFacade.defaultButton : String
@@ -400,3 +423,6 @@ var SelectServerAttributeGroupFacade.dataValueField : String
set(newValue) {attributeStringString[this, "DataValueField"] = newValue}
+interface TextareaServerAttributeGroupFacade : Tag {
+}
+
diff --git a/src/commonMain/kotlin/generated/gen-consumer-tags.kt b/src/commonMain/kotlin/generated/gen-consumer-tags.kt
index a669c630..cbe8f255 100644
--- a/src/commonMain/kotlin/generated/gen-consumer-tags.kt
+++ b/src/commonMain/kotlin/generated/gen-consumer-tags.kt
@@ -1162,10 +1162,11 @@ public inline fun > C.p(classes: String? = null, crossinli
public inline fun > C.`param`(
name: String? = null,
`value`: String? = null,
+ classes: String? = null,
crossinline block: PARAM.() -> Unit = {},
): T {
contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) }
- return PARAM(attributesMapOf("name", name,"value", value), this)
+ return PARAM(attributesMapOf("name", name,"value", value,"class", classes), this)
.visitAndFinalize(this, block)
}
diff --git a/src/commonMain/kotlin/generated/gen-parent-traits.kt b/src/commonMain/kotlin/generated/gen-parent-traits.kt
index 9ed8d79a..e6a8bff6 100644
--- a/src/commonMain/kotlin/generated/gen-parent-traits.kt
+++ b/src/commonMain/kotlin/generated/gen-parent-traits.kt
@@ -6,6 +6,9 @@ package kotlinx.html
This file was generated by module generate
*******************************************************************************/
+interface ButtonServerCommonFlowInteractivePhrasingGroupFacadeAttributeContent : ButtonServerAttributeGroupFacade, CommonAttributeGroupFacade, CommonAttributeGroupFacadeFlowInteractiveContent, CommonAttributeGroupFacadeFlowInteractivePhrasingContent, FlowInteractiveContent, FlowInteractivePhrasingContent, FlowPhrasingContent, HtmlBlockInlineTag, HtmlBlockTag, HtmlInlineTag {
+}
+
interface CommonAttributeGroupFacadeFlowHeadingContent : CommonAttributeGroupFacade, HeadingContent, HtmlBlockTag {
}
@@ -33,6 +36,9 @@ interface CommonAttributeGroupFacadeFlowPhrasingSectioningContent : CommonAttrib
interface CommonAttributeGroupFacadeFlowSectioningContent : CommonAttributeGroupFacade, HtmlBlockTag, SectioningContent {
}
+interface CoreAttributeGroupFacadeFlowMetaDataPhrasingContent : CoreAttributeGroupFacade, FlowMetaDataContent, FlowMetaDataPhrasingContent, FlowPhrasingContent {
+}
+
interface FlowInteractiveContent : FlowContent, InteractiveContent {
}
diff --git a/src/commonMain/kotlin/generated/gen-tags-b.kt b/src/commonMain/kotlin/generated/gen-tags-b.kt
index 04ba50f4..807df028 100644
--- a/src/commonMain/kotlin/generated/gen-tags-b.kt
+++ b/src/commonMain/kotlin/generated/gen-tags-b.kt
@@ -136,7 +136,7 @@ val BR.asPhrasingContent : PhrasingContent
@Suppress("unused")
-open class BUTTON(initialAttributes : Map, override val consumer : TagConsumer<*>) : HTMLTag("button", consumer, initialAttributes, null, true, false), CommonAttributeGroupFacadeFlowInteractivePhrasingContent {
+open class BUTTON(initialAttributes : Map, override val consumer : TagConsumer<*>) : HTMLTag("button", consumer, initialAttributes, null, true, false), ButtonServerCommonFlowInteractivePhrasingGroupFacadeAttributeContent {
var autoFocus : Boolean
get() = attributeBooleanTicker[this, "autofocus"]
set(newValue) {attributeBooleanTicker[this, "autofocus"] = newValue}
diff --git a/src/commonMain/kotlin/generated/gen-tags-o.kt b/src/commonMain/kotlin/generated/gen-tags-o.kt
index 01193d2b..a17b28b2 100644
--- a/src/commonMain/kotlin/generated/gen-tags-o.kt
+++ b/src/commonMain/kotlin/generated/gen-tags-o.kt
@@ -53,9 +53,9 @@ open class OBJECT(initialAttributes : Map, override val consumer
*/
@HtmlTagMarker
@OptIn(ExperimentalContracts::class)
-inline fun OBJECT.param(name : String? = null, value : String? = null, crossinline block : PARAM.() -> Unit = {}) : Unit {
+inline fun OBJECT.param(name : String? = null, value : String? = null, classes : String? = null, crossinline block : PARAM.() -> Unit = {}) : Unit {
contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) }
- PARAM(attributesMapOf("name", name,"value", value), consumer).visit(block)
+ PARAM(attributesMapOf("name", name,"value", value,"class", classes), consumer).visit(block)
}
val OBJECT.asFlowContent : FlowContent
diff --git a/src/commonMain/kotlin/generated/gen-tags-p.kt b/src/commonMain/kotlin/generated/gen-tags-p.kt
index a87358be..4b30b924 100644
--- a/src/commonMain/kotlin/generated/gen-tags-p.kt
+++ b/src/commonMain/kotlin/generated/gen-tags-p.kt
@@ -24,7 +24,7 @@ val P.asPhrasingContent : PhrasingContent
@Suppress("unused")
-open class PARAM(initialAttributes : Map, override val consumer : TagConsumer<*>) : HTMLTag("param", consumer, initialAttributes, null, true, true) {
+open class PARAM(initialAttributes : Map, override val consumer : TagConsumer<*>) : HTMLTag("param", consumer, initialAttributes, null, true, true), CoreAttributeGroupFacade {
var name : String
get() = attributeStringString[this, "name"]
set(newValue) {attributeStringString[this, "name"] = newValue}
diff --git a/src/commonMain/kotlin/generated/gen-tags-s.kt b/src/commonMain/kotlin/generated/gen-tags-s.kt
index 36379af2..b732b970 100644
--- a/src/commonMain/kotlin/generated/gen-tags-s.kt
+++ b/src/commonMain/kotlin/generated/gen-tags-s.kt
@@ -35,7 +35,7 @@ val SAMP.asPhrasingContent : PhrasingContent
@Suppress("unused")
-open class SCRIPT(initialAttributes : Map, override val consumer : TagConsumer<*>) : HTMLTag("script", consumer, initialAttributes, null, false, false), FlowMetaDataPhrasingContent {
+open class SCRIPT(initialAttributes : Map, override val consumer : TagConsumer<*>) : HTMLTag("script", consumer, initialAttributes, null, false, false), CoreAttributeGroupFacadeFlowMetaDataPhrasingContent {
var charset : String
get() = attributeStringString[this, "charset"]
set(newValue) {attributeStringString[this, "charset"] = newValue}
diff --git a/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt b/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt
index 8484b187..7ddcfddf 100644
--- a/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt
+++ b/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt
@@ -1216,10 +1216,11 @@ public inline fun TagConsumer.p(classes: String? = null, crossinlin
public inline fun TagConsumer.`param`(
name: String? = null,
`value`: String? = null,
+ classes: String? = null,
crossinline block: PARAM.() -> Unit = {},
): HTMLParamElement {
contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) }
- return PARAM(attributesMapOf("name", name,"value", value), this)
+ return PARAM(attributesMapOf("name", name,"value", value,"class", classes), this)
.visitAndFinalize(this, block) as HTMLParamElement
}
diff --git a/src/jsMain/kotlin/generated/gen-event-attrs-js.kt b/src/jsMain/kotlin/generated/gen-event-attrs-js.kt
index eb0cf1aa..d8b03c96 100644
--- a/src/jsMain/kotlin/generated/gen-event-attrs-js.kt
+++ b/src/jsMain/kotlin/generated/gen-event-attrs-js.kt
@@ -6,6 +6,7 @@ package kotlinx.html.js
*******************************************************************************/
import kotlin.Unit
import kotlinx.html.CommonAttributeGroupFacade
+import kotlinx.html.CommonEventsGroupFacade
import kotlinx.html.org.w3c.dom.events.Event
public var CommonAttributeGroupFacade.onAbortFunction: (Event) -> Unit
@@ -391,3 +392,387 @@ public var CommonAttributeGroupFacade.onWheelFunction: (Event) -> Unit
set(newValue) {
consumer.onTagEvent(this, "onwheel", newValue)
}
+
+public var CommonEventsGroupFacade.onAbortFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onAbort")
+ set(newValue) {
+ consumer.onTagEvent(this, "onabort", newValue)
+ }
+
+public var CommonEventsGroupFacade.onBlurFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onBlur")
+ set(newValue) {
+ consumer.onTagEvent(this, "onblur", newValue)
+ }
+
+public var CommonEventsGroupFacade.onCanPlayFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onCanPlay")
+ set(newValue) {
+ consumer.onTagEvent(this, "oncanplay", newValue)
+ }
+
+public var CommonEventsGroupFacade.onCanPlayThroughFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onCanPlayThrough")
+ set(newValue) {
+ consumer.onTagEvent(this, "oncanplaythrough", newValue)
+ }
+
+public var CommonEventsGroupFacade.onChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onchange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onClickFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onClick")
+ set(newValue) {
+ consumer.onTagEvent(this, "onclick", newValue)
+ }
+
+public var CommonEventsGroupFacade.onContextMenuFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onContextMenu")
+ set(newValue) {
+ consumer.onTagEvent(this, "oncontextmenu", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDoubleClickFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDoubleClick")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondblclick", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDrag")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondrag", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragEndFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragEnd")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragend", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragEnterFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragEnter")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragenter", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragLeaveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragLeave")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragleave", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragOverFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragOver")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragover", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragStartFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragStart")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragstart", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDropFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDrop")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondrop", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDurationChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDurationChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondurationchange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onEmptiedFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onEmptied")
+ set(newValue) {
+ consumer.onTagEvent(this, "onemptied", newValue)
+ }
+
+public var CommonEventsGroupFacade.onEndedFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onEnded")
+ set(newValue) {
+ consumer.onTagEvent(this, "onended", newValue)
+ }
+
+public var CommonEventsGroupFacade.onErrorFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onError")
+ set(newValue) {
+ consumer.onTagEvent(this, "onerror", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFocusFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFocus")
+ set(newValue) {
+ consumer.onTagEvent(this, "onfocus", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFocusInFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFocusIn")
+ set(newValue) {
+ consumer.onTagEvent(this, "onfocusin", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFocusOutFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFocusOut")
+ set(newValue) {
+ consumer.onTagEvent(this, "onfocusout", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFormChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFormChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onformchange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFormInputFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFormInput")
+ set(newValue) {
+ consumer.onTagEvent(this, "onforminput", newValue)
+ }
+
+public var CommonEventsGroupFacade.onInputFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onInput")
+ set(newValue) {
+ consumer.onTagEvent(this, "oninput", newValue)
+ }
+
+public var CommonEventsGroupFacade.onInvalidFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onInvalid")
+ set(newValue) {
+ consumer.onTagEvent(this, "oninvalid", newValue)
+ }
+
+public var CommonEventsGroupFacade.onKeyDownFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onKeyDown")
+ set(newValue) {
+ consumer.onTagEvent(this, "onkeydown", newValue)
+ }
+
+public var CommonEventsGroupFacade.onKeyPressFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onKeyPress")
+ set(newValue) {
+ consumer.onTagEvent(this, "onkeypress", newValue)
+ }
+
+public var CommonEventsGroupFacade.onKeyUpFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onKeyUp")
+ set(newValue) {
+ consumer.onTagEvent(this, "onkeyup", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoad")
+ set(newValue) {
+ consumer.onTagEvent(this, "onload", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadedDataFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoadedData")
+ set(newValue) {
+ consumer.onTagEvent(this, "onloadeddata", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadedMetaDataFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoadedMetaData")
+ set(newValue) {
+ consumer.onTagEvent(this, "onloadedmetadata", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadStartFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoadStart")
+ set(newValue) {
+ consumer.onTagEvent(this, "onloadstart", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseDownFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseDown")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmousedown", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseEnterFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseEnter")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseenter", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseLeaveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseLeave")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseleave", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseMoveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseMove")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmousemove", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseOutFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseOut")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseout", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseOverFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseOver")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseover", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseUpFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseUp")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseup", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseWheelFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseWheel")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmousewheel", newValue)
+ }
+
+public var CommonEventsGroupFacade.onPauseFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onPause")
+ set(newValue) {
+ consumer.onTagEvent(this, "onpause", newValue)
+ }
+
+public var CommonEventsGroupFacade.onPlayFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onPlay")
+ set(newValue) {
+ consumer.onTagEvent(this, "onplay", newValue)
+ }
+
+public var CommonEventsGroupFacade.onPlayingFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onPlaying")
+ set(newValue) {
+ consumer.onTagEvent(this, "onplaying", newValue)
+ }
+
+public var CommonEventsGroupFacade.onProgressFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onProgress")
+ set(newValue) {
+ consumer.onTagEvent(this, "onprogress", newValue)
+ }
+
+public var CommonEventsGroupFacade.onRateChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onRateChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onratechange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onReadyStateChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onReadyStateChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onreadystatechange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onScrollFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onScroll")
+ set(newValue) {
+ consumer.onTagEvent(this, "onscroll", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSearchFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSearch")
+ set(newValue) {
+ consumer.onTagEvent(this, "onsearch", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSeekedFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSeeked")
+ set(newValue) {
+ consumer.onTagEvent(this, "onseeked", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSeekingFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSeeking")
+ set(newValue) {
+ consumer.onTagEvent(this, "onseeking", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSelectFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSelect")
+ set(newValue) {
+ consumer.onTagEvent(this, "onselect", newValue)
+ }
+
+public var CommonEventsGroupFacade.onShowFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onShow")
+ set(newValue) {
+ consumer.onTagEvent(this, "onshow", newValue)
+ }
+
+public var CommonEventsGroupFacade.onStalledFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onStalled")
+ set(newValue) {
+ consumer.onTagEvent(this, "onstalled", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSubmitFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSubmit")
+ set(newValue) {
+ consumer.onTagEvent(this, "onsubmit", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSuspendFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSuspend")
+ set(newValue) {
+ consumer.onTagEvent(this, "onsuspend", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTimeUpdateFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTimeUpdate")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontimeupdate", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchCancelFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchCancel")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchcancel", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchEndFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchEnd")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchend", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchMoveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchMove")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchmove", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchStartFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchStart")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchstart", newValue)
+ }
+
+public var CommonEventsGroupFacade.onVolumeChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onVolumeChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onvolumechange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onWaitingFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onWaiting")
+ set(newValue) {
+ consumer.onTagEvent(this, "onwaiting", newValue)
+ }
+
+public var CommonEventsGroupFacade.onWheelFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onWheel")
+ set(newValue) {
+ consumer.onTagEvent(this, "onwheel", newValue)
+ }
diff --git a/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt b/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt
index fc2872dd..5205ce7e 100644
--- a/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt
+++ b/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt
@@ -1215,10 +1215,11 @@ public inline fun TagConsumer.p(classes: String? = null, crossinline bl
public inline fun TagConsumer.`param`(
name: String? = null,
`value`: String? = null,
+ classes: String? = null,
crossinline block: PARAM.() -> Unit = {},
): HTMLParamElement {
contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) }
- return PARAM(attributesMapOf("name", name,"value", value), this)
+ return PARAM(attributesMapOf("name", name,"value", value,"class", classes), this)
.visitAndFinalize(this, block) as HTMLParamElement
}
diff --git a/src/wasmJsMain/kotlin/generated/gen-event-attrs-wasm-js.kt b/src/wasmJsMain/kotlin/generated/gen-event-attrs-wasm-js.kt
index eb0cf1aa..d8b03c96 100644
--- a/src/wasmJsMain/kotlin/generated/gen-event-attrs-wasm-js.kt
+++ b/src/wasmJsMain/kotlin/generated/gen-event-attrs-wasm-js.kt
@@ -6,6 +6,7 @@ package kotlinx.html.js
*******************************************************************************/
import kotlin.Unit
import kotlinx.html.CommonAttributeGroupFacade
+import kotlinx.html.CommonEventsGroupFacade
import kotlinx.html.org.w3c.dom.events.Event
public var CommonAttributeGroupFacade.onAbortFunction: (Event) -> Unit
@@ -391,3 +392,387 @@ public var CommonAttributeGroupFacade.onWheelFunction: (Event) -> Unit
set(newValue) {
consumer.onTagEvent(this, "onwheel", newValue)
}
+
+public var CommonEventsGroupFacade.onAbortFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onAbort")
+ set(newValue) {
+ consumer.onTagEvent(this, "onabort", newValue)
+ }
+
+public var CommonEventsGroupFacade.onBlurFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onBlur")
+ set(newValue) {
+ consumer.onTagEvent(this, "onblur", newValue)
+ }
+
+public var CommonEventsGroupFacade.onCanPlayFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onCanPlay")
+ set(newValue) {
+ consumer.onTagEvent(this, "oncanplay", newValue)
+ }
+
+public var CommonEventsGroupFacade.onCanPlayThroughFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onCanPlayThrough")
+ set(newValue) {
+ consumer.onTagEvent(this, "oncanplaythrough", newValue)
+ }
+
+public var CommonEventsGroupFacade.onChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onchange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onClickFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onClick")
+ set(newValue) {
+ consumer.onTagEvent(this, "onclick", newValue)
+ }
+
+public var CommonEventsGroupFacade.onContextMenuFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onContextMenu")
+ set(newValue) {
+ consumer.onTagEvent(this, "oncontextmenu", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDoubleClickFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDoubleClick")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondblclick", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDrag")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondrag", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragEndFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragEnd")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragend", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragEnterFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragEnter")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragenter", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragLeaveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragLeave")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragleave", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragOverFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragOver")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragover", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDragStartFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDragStart")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondragstart", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDropFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDrop")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondrop", newValue)
+ }
+
+public var CommonEventsGroupFacade.onDurationChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onDurationChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "ondurationchange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onEmptiedFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onEmptied")
+ set(newValue) {
+ consumer.onTagEvent(this, "onemptied", newValue)
+ }
+
+public var CommonEventsGroupFacade.onEndedFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onEnded")
+ set(newValue) {
+ consumer.onTagEvent(this, "onended", newValue)
+ }
+
+public var CommonEventsGroupFacade.onErrorFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onError")
+ set(newValue) {
+ consumer.onTagEvent(this, "onerror", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFocusFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFocus")
+ set(newValue) {
+ consumer.onTagEvent(this, "onfocus", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFocusInFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFocusIn")
+ set(newValue) {
+ consumer.onTagEvent(this, "onfocusin", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFocusOutFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFocusOut")
+ set(newValue) {
+ consumer.onTagEvent(this, "onfocusout", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFormChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFormChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onformchange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onFormInputFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onFormInput")
+ set(newValue) {
+ consumer.onTagEvent(this, "onforminput", newValue)
+ }
+
+public var CommonEventsGroupFacade.onInputFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onInput")
+ set(newValue) {
+ consumer.onTagEvent(this, "oninput", newValue)
+ }
+
+public var CommonEventsGroupFacade.onInvalidFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onInvalid")
+ set(newValue) {
+ consumer.onTagEvent(this, "oninvalid", newValue)
+ }
+
+public var CommonEventsGroupFacade.onKeyDownFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onKeyDown")
+ set(newValue) {
+ consumer.onTagEvent(this, "onkeydown", newValue)
+ }
+
+public var CommonEventsGroupFacade.onKeyPressFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onKeyPress")
+ set(newValue) {
+ consumer.onTagEvent(this, "onkeypress", newValue)
+ }
+
+public var CommonEventsGroupFacade.onKeyUpFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onKeyUp")
+ set(newValue) {
+ consumer.onTagEvent(this, "onkeyup", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoad")
+ set(newValue) {
+ consumer.onTagEvent(this, "onload", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadedDataFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoadedData")
+ set(newValue) {
+ consumer.onTagEvent(this, "onloadeddata", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadedMetaDataFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoadedMetaData")
+ set(newValue) {
+ consumer.onTagEvent(this, "onloadedmetadata", newValue)
+ }
+
+public var CommonEventsGroupFacade.onLoadStartFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onLoadStart")
+ set(newValue) {
+ consumer.onTagEvent(this, "onloadstart", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseDownFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseDown")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmousedown", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseEnterFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseEnter")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseenter", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseLeaveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseLeave")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseleave", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseMoveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseMove")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmousemove", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseOutFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseOut")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseout", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseOverFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseOver")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseover", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseUpFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseUp")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmouseup", newValue)
+ }
+
+public var CommonEventsGroupFacade.onMouseWheelFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onMouseWheel")
+ set(newValue) {
+ consumer.onTagEvent(this, "onmousewheel", newValue)
+ }
+
+public var CommonEventsGroupFacade.onPauseFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onPause")
+ set(newValue) {
+ consumer.onTagEvent(this, "onpause", newValue)
+ }
+
+public var CommonEventsGroupFacade.onPlayFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onPlay")
+ set(newValue) {
+ consumer.onTagEvent(this, "onplay", newValue)
+ }
+
+public var CommonEventsGroupFacade.onPlayingFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onPlaying")
+ set(newValue) {
+ consumer.onTagEvent(this, "onplaying", newValue)
+ }
+
+public var CommonEventsGroupFacade.onProgressFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onProgress")
+ set(newValue) {
+ consumer.onTagEvent(this, "onprogress", newValue)
+ }
+
+public var CommonEventsGroupFacade.onRateChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onRateChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onratechange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onReadyStateChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onReadyStateChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onreadystatechange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onScrollFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onScroll")
+ set(newValue) {
+ consumer.onTagEvent(this, "onscroll", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSearchFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSearch")
+ set(newValue) {
+ consumer.onTagEvent(this, "onsearch", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSeekedFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSeeked")
+ set(newValue) {
+ consumer.onTagEvent(this, "onseeked", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSeekingFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSeeking")
+ set(newValue) {
+ consumer.onTagEvent(this, "onseeking", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSelectFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSelect")
+ set(newValue) {
+ consumer.onTagEvent(this, "onselect", newValue)
+ }
+
+public var CommonEventsGroupFacade.onShowFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onShow")
+ set(newValue) {
+ consumer.onTagEvent(this, "onshow", newValue)
+ }
+
+public var CommonEventsGroupFacade.onStalledFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onStalled")
+ set(newValue) {
+ consumer.onTagEvent(this, "onstalled", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSubmitFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSubmit")
+ set(newValue) {
+ consumer.onTagEvent(this, "onsubmit", newValue)
+ }
+
+public var CommonEventsGroupFacade.onSuspendFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onSuspend")
+ set(newValue) {
+ consumer.onTagEvent(this, "onsuspend", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTimeUpdateFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTimeUpdate")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontimeupdate", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchCancelFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchCancel")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchcancel", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchEndFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchEnd")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchend", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchMoveFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchMove")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchmove", newValue)
+ }
+
+public var CommonEventsGroupFacade.onTouchStartFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onTouchStart")
+ set(newValue) {
+ consumer.onTagEvent(this, "ontouchstart", newValue)
+ }
+
+public var CommonEventsGroupFacade.onVolumeChangeFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onVolumeChange")
+ set(newValue) {
+ consumer.onTagEvent(this, "onvolumechange", newValue)
+ }
+
+public var CommonEventsGroupFacade.onWaitingFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onWaiting")
+ set(newValue) {
+ consumer.onTagEvent(this, "onwaiting", newValue)
+ }
+
+public var CommonEventsGroupFacade.onWheelFunction: (Event) -> Unit
+ get() = throw UnsupportedOperationException("You can't read variable onWheel")
+ set(newValue) {
+ consumer.onTagEvent(this, "onwheel", newValue)
+ }