Support ClipboardEvent in definitions generated from idl
This commit is contained in:
@@ -31,6 +31,7 @@ val urls = listOf(
|
||||
|
||||
"https://w3c.github.io/mediacapture-main/" to "org.w3c.dom.mediacapture",
|
||||
"http://www.w3.org/TR/DOM-Parsing/" to "org.w3c.dom.parsing",
|
||||
"https://w3c.github.io/clipboard-apis" to "org.w3c.dom.clipboard",
|
||||
"https://raw.githubusercontent.com/whatwg/url/master/url.html" to "org.w3c.dom.url",
|
||||
|
||||
"https://www.w3.org/TR/SVG2/single-page.html" to "org.w3c.dom.svg",
|
||||
@@ -108,6 +109,11 @@ val eventSpecifierMapper = mapOf<String, String>(
|
||||
"ondragstart" to "DragEvent",
|
||||
"ondrop" to "DragEvent",
|
||||
|
||||
"oncopy" to "ClipboardEvent",
|
||||
"oncut" to "ClipboardEvent",
|
||||
"onpaste" to "ClipboardEvent",
|
||||
|
||||
|
||||
"onfetch" to "FetchEvent",
|
||||
|
||||
"onblur" to "FocusEvent",
|
||||
|
||||
Reference in New Issue
Block a user