+ Reply to Thread
Ext.define("Sencha.view.Main", { extend: 'Ext.Panel', config : { html:"dsfds<script>console.log('loglgo');</script>" } }); Ext.Viewport.add(Ext.create('Sencha.view.Main'));
Chinese
Please provide us more info on what you are trying to accomplish so we can help you. Putting the "script" tag into a component "html" property is not a good example of best uses.
Sencha Inc Andrea Cammarata, Solutions Engineer CEO at SIMACS @AndreaCammarata www.andreacammarata.com github: https://github.com/AndreaCammarata
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us