Explorar o código

added createElement.

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
73ff5b3594
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      std/js/Document.hx

+ 1 - 0
std/js/Document.hx

@@ -65,6 +65,7 @@ extern class Document extends HtmlDom {
 	function close() : Void;
 	function getElementById( id : String ) : HtmlDom;
 	function getElementsByName( name : String ) : HtmlCollection<HtmlDom>;
+	function createElement( name : String ) : HtmlDom;
 
 	var onclick : Event -> Void;
 	var ondblclick : Event -> Void;