The ComponentQuery documentation documents that a comma can be used to specify multiple selectors to be treated as an OR.

An expression like



Code:



Ext.ComponentQuery.query('viewport, navigationview');

Works and will return components matching either selector.

If you do this though:



Code:



Ext.ComponentQuery.is(Ext.Viewport, 'viewport, navigationview');

ST 2.4.1 throws an error while parsing the selector. This is relevant when using a control selector as it uses .is to test components firing events. ExtJS 4 and ExtJS 5 both support using a comma in ComponentQuery.is and in control selectors but ST does not.