Pārlūkot izejas kodu

added createElement.

Nicolas Cannasse 19 gadi atpakaļ
vecāks
revīzija
73ff5b3594
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;