JSFiddle - React, Tailwind, and code Playground
by EDWIN MAURICIO QUISHPE MALDONADO
JavaScript
enyo.kind({
name:"App",
kind:"Control",
components:[
{kind:"onyx.Input"}
// {kind:"onyx.Input", attributes:{"onfocus":enyo.bubbler, "onblur":enyo.bubbler}}
],
create:function() {
this.inherited(arguments);
},
handlers:{
onfocus:"focused",
onblur:"blurred"
},
focused:function() {
console.log("focused");
},
blurred:function() {
console.log("blurred");
}
});
new App().renderInto(document.body)