JSFiddle - React, Tailwind, and code Playground

by chaoszcat

HTML

<link rel="stylesheet" href="http://dev.sencha.com/deploy/ext-3.4.0/resources/css/ext-all.css">

JavaScript

/**
 * This is the column bars with clickable areas
 */
Ext.ns('NS');


NS.MyMenu = Ext.extend(Ext.Component, {
    
    initComponent: function() {
        
        NS.MyMenu.superclass.initComponent.call(this);
        this.on('afterrender', this.onAfterRender, this);
    },
    
    onAfterRender: function() {
        console.log('b');
    }
});

new NS.MyMenu();