peroxide
peroxide

Reputation: 696

ExtJs - Getting all components on page

I'm using ExtJs 4.2.2 with a single page application.
I have lots of workspaces and i want to make sure that i'm destroying all of the components when moving to a different workspace.
i'm using:

Ext.ComponentMgr.getCount()

but this just returns the number of components.
how can i query the component xtypes in the page?

Upvotes: 4

Views: 2718

Answers (1)

peroxide
peroxide

Reputation: 696

This will show the entire component list

Ext.ComponentMgr.all.map

Upvotes: 6

Related Questions