JSFiddle - React, Tailwind, and code Playground

by Ryan Duffy

JavaScript

enyo.kind({
    name:"ex.App",
    kind:"Control",
    create:function() {
        this.inherited(arguments);
        
        this.createComponent({content:"a"});
        this.createComponent({content:"b"});
        //this.prepend = true;
        this.createComponent({prepend:true, content:"c"});
        //this.prepend = false;
        this.createComponent({components:[
            {content:"1"},
            {content:"2", prepend:true},
            {content:"3"},
        ]});
    }
});

new ex.App().renderInto(document.body);