adding context and bindable properties to component.json
This commit is contained in:
parent
d6b0374349
commit
458bc228ed
|
@ -130,6 +130,7 @@
|
||||||
},
|
},
|
||||||
"select": {
|
"select": {
|
||||||
"name": "Select",
|
"name": "Select",
|
||||||
|
"bindable": "value",
|
||||||
"description": "An HTML <select> (dropdown)",
|
"description": "An HTML <select> (dropdown)",
|
||||||
"props": {
|
"props": {
|
||||||
"value": "string",
|
"value": "string",
|
||||||
|
@ -170,6 +171,7 @@
|
||||||
},
|
},
|
||||||
"checkbox": {
|
"checkbox": {
|
||||||
"name": "Checkbox",
|
"name": "Checkbox",
|
||||||
|
"bindable": "value",
|
||||||
"description": "A selectable checkbox component",
|
"description": "A selectable checkbox component",
|
||||||
"props": {
|
"props": {
|
||||||
"label": "string",
|
"label": "string",
|
||||||
|
@ -180,6 +182,7 @@
|
||||||
},
|
},
|
||||||
"radiobutton": {
|
"radiobutton": {
|
||||||
"name": "Radiobutton",
|
"name": "Radiobutton",
|
||||||
|
"bindable": "value",
|
||||||
"description": "A selectable radiobutton component",
|
"description": "A selectable radiobutton component",
|
||||||
"props": {
|
"props": {
|
||||||
"label": "string",
|
"label": "string",
|
||||||
|
@ -244,6 +247,7 @@
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"description": "A configurable data list that attaches to your backend models.",
|
"description": "A configurable data list that attaches to your backend models.",
|
||||||
|
"context": "model",
|
||||||
"data": true,
|
"data": true,
|
||||||
"props": {
|
"props": {
|
||||||
"model": "models"
|
"model": "models"
|
||||||
|
@ -263,6 +267,7 @@
|
||||||
},
|
},
|
||||||
"recorddetail": {
|
"recorddetail": {
|
||||||
"description": "Loads a record, using an ID in the url",
|
"description": "Loads a record, using an ID in the url",
|
||||||
|
"context": "model",
|
||||||
"data": true,
|
"data": true,
|
||||||
"props": {
|
"props": {
|
||||||
"model": "models"
|
"model": "models"
|
||||||
|
|
Loading…
Reference in New Issue