JSFiddle - React, Tailwind, and code Playground
by enyojs
JavaScript
enyo.kind({
name:"App",
components: [
{kind: "onyx.Groupbox", components: [
{kind: "onyx.GroupboxHeader", content: "Ordered controls"},
{components: [
{kind: "onyx.Button", content: "I'm a button", ontap: "buttonTapped"}
]},
{components: [
{kind: "onyx.Checkbox", onchange: "checkChecked"}
]},
{kind: "onyx.InputDecorator", components: [
{kind: "onyx.Input", placeholder: "Enter text here", onchange: "inputChanged"}
]}
]}
],
buttonTapped: function() {
},
checkChecked: function() {
},
inputChanged: function() {
}
});
new App().renderInto(document.body);