File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
heartbeat_monitor/src/jsMain/kotlin/heartbeatmonitor/util Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import org.w3c.dom.HTMLLinkElement
99import org.w3c.dom.HTMLOptionElement
1010import org.w3c.dom.HTMLSelectElement
1111import org.w3c.dom.HTMLSpanElement
12+ import org.w3c.dom.HTMLTextAreaElement
1213import org.w3c.dom.css.CSSStyleDeclaration
1314
1415fun Document.createDivElement () = this .createElement(" div" ).unsafeCast<HTMLDivElement >()
@@ -19,6 +20,7 @@ fun Document.createOptionElement() = this.createElement("option").unsafeCast<HTM
1920fun Document.createLinkElement () = this .createElement(" link" ).unsafeCast<HTMLLinkElement >()
2021fun Document.createLabelElement () = this .createElement(" label" ).unsafeCast<HTMLLabelElement >()
2122fun Document.createInputElement () = this .createElement(" input" ).unsafeCast<HTMLInputElement >()
23+ fun Document.createTextAreaElement () = this .createElement(" textarea" ).unsafeCast<HTMLTextAreaElement >()
2224
2325var CSSStyleDeclaration .gap: String
2426 get() = this .getPropertyValue(" gap" )
You can’t perform that action at this time.
0 commit comments