27 lines
318 B
Markdown
27 lines
318 B
Markdown
|
|
||
|
|
||
|
# Type Definition Prototype
|
||
|
|
||
|
{
|
||
|
name: "string",
|
||
|
render: function(v){ return v; }
|
||
|
editor: function(){
|
||
|
// return a sky.editor
|
||
|
}
|
||
|
}
|
||
|
|
||
|
# Object Descriptor
|
||
|
|
||
|
{
|
||
|
|
||
|
fields: [
|
||
|
{ name: "abc", type: null, label: "Feld ABC" },
|
||
|
{ name: "def", type: "int", label: "Feld DEF" }
|
||
|
],
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|