PDA

View Full Version : Importing a component



bseddon
23 Feb 2012, 6:15 PM
I can see that it is possible to import an exported xdc file? Is it possible to import a component in a .js file?

I've taken the Lightbox example from Ext core and converted it to be a ExtJS 4.0 component and I'd like to be able to import this component to be able to use it within the designer.

I can see that I could create a component in by pretending its a view then add basic functions and other features to the component. But I'm writing this post to ask if there is a better way? For example, is there a tool which is able to parse a JS file and produce an xdc file?

Thanks