Browse Source

added getComponents

ncannasse 11 years ago
parent
commit
96c3288ca2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      h2d/comp/JQuery.hx

+ 4 - 0
h2d/comp/JQuery.hx

@@ -17,6 +17,10 @@ class JQuery {
 		select = getSet(query);
 	}
 	
+	public function getComponents() {
+		return select;
+	}
+	
 	public function toggleClass( cl : String, ?flag : Bool ) {
 		for( s in select ) s.toggleClass(cl,flag);
 		return this;