class type t =Inheritsobject
..end
method child : 'a 'b. 'a Js.t Js.optdef -> 'b Js.t Js.meth
Retrieves the first direct child of this container which matches the passed selector or component. The passed in selector must comply with an Ext.ComponentQuery selector, or it can be an actual Ext.Component.
Parameters:
_ Js.t
(optional)
An Ext.ComponentQuery selector. If no selector is specified, the first child will be returned.
Returns:
_ Js.t
Ext.Component The matching child Ext.Component (or null
if no match was found).
method down : 'c 'd. 'c Js.t Js.optdef -> 'd Js.t Js.meth
Retrieves the first descendant of this container which matches the passed selector. The passed in selector must comply with an Ext.ComponentQuery selector, or it can be an actual Ext.Component.
Parameters:
_ Js.t
(optional)
An Ext.ComponentQuery selector or Ext.Component. If no selector is specified, the first child will be returned.
Returns:
_ Js.t
Ext.Component The matching descendant Ext.Component (or null
if no match was found).
method query : Js.js_string Js.t Js.optdef -> Ext_Component.t Js.js_array Js.t Js.meth
Retrieves all descendant components which match the passed selector. Executes an Ext.ComponentQuery.query using this container as its root.
Parameters:
Js.js_string Js.t
(optional)
Selector complying to an Ext.ComponentQuery selector. If no selector is specified all items will be returned.
Returns:
Ext_Component.t Js.js_array Js.t
Components which matched the selector
method queryBy : 'e 'f.
'e Js.callback ->
'f Js.t Js.optdef -> Ext_Component.t Js.js_array Js.t Js.meth
Retrieves all descendant components which match the passed function. The function should return false for components that are to be excluded from the selection.
Parameters:
_ Js.callback
The matcher function. It will be called with a single argument, the component being tested.
_ Js.t
(optional)
The scope in which to run the function. If not specified, it will default to the active component.
Returns:
Ext_Component.t Js.js_array Js.t
Components matched by the passed function
method queryById : 'g. Js.js_string Js.t -> (#Ext_Component.t as 'g) Js.t Js.meth
Finds a component at any level under this container matching the id/itemId. This is a shorthand for calling ct.down('#' + id);
Parameters:
Js.js_string Js.t
The id to find
Returns:
#Ext_Component.t Js.t
The matching id, null if not found