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