mercredi 30 avril 2014

Is the config object concept now the same as in Touch?

Is this config object concept is now the same what the Touch has?

Can I or should I do this in Ext 5?



Code:



Ext.define("User", {
extend: "Ext.data.Model",
config: {
fields: [
{name: "firstName", type: "string"},
{name: "lastName", type: "string"},
{name: "age", type: "int"},
{name: "eyeColor", type: "string"}
]
}
});




Aucun commentaire:

Enregistrer un commentaire