jeudi 15 mai 2014

How to use extjs with phantomjs?

I've just discovered phantomjs and need to use it with my extjs4 app to create pdf reports.

I tried many places for examples or directions but could not find any hints to help me with this.

Did anyone know how to use extjs with phantomjs. A small example would be very much appreciated.


I can even provide small extjs code and want to see the appropriate code for phantomjs:



Code:



Ext.create('Ext.Component',
{
html: 'Hello world!',
width: 300,
height: 200,
padding: 20,
renderTo: 'surface'
});

Thanks


Aucun commentaire:

Enregistrer un commentaire