Public Methods
 FunctionDefined By
  
$(selector:* = null, root:DisplayObjectContainer = null, onlyChild:Boolean = false):ASQueryObject
ASQuery主函数
cx.asQuery.starling
Function detail
$()function
public function $(selector:* = null, root:DisplayObjectContainer = null, onlyChild:Boolean = false):ASQueryObject

ASQuery主函数

Parameters

selector:* (default = null) — 选择器(如果不设置则调用舞台)
 
root:DisplayObjectContainer (default = null) — 主根容(如果不设置则使用舞台)
 
onlyChild:Boolean (default = false) — 是否只遍历主容器的第一层自对象(否则遍历所有子集),默认为false遍历所有子集,设为true可以提升效率。

Returns
ASQueryObject