JSFiddle - React, Tailwind, and code Playground
by kryo
HTML
<script src="http://dev.sencha.com/deploy/ext-4.0.0/bootstrap.js"></script>
<div id="placeholder"></div>
CSS
#placeholder1, #placeholder2 {
padding: 5px;
background: blue;
color: white;
}
#placeholder2 {
background: red;
color: black;
}
JavaScript
Ext.define('Ext.ux.Bootstrap',{
extend: "Ext.util.Observable",
constructor: function(c) {
this.addEvents( 'ready' );
this.initConfig(c);
this.callParent(arguments);
this.initComponent();
},
initComponent: function(){ Ext.get('placeholder').update('weee'); }
});
Ext.create('Ext.ux.Bootstrap',{
});