JSFiddle - React, Tailwind, and code Playground

by enyojs

JavaScript

enyo.kind({
    name: "MySample",
    components: [
        {kind: "onyx.Toolbar", content: "Your sample here"}
    ],
    test: function() {
        alert(JSON.stringify(this.$.test.getBounds()));
    }
});

new MySample({fit:true}).write();