1
0
Fork 0
mirror of synced 2024-07-05 14:31:17 +12:00

adding context and bindable properties to component.json

This commit is contained in:
Michael Shanks 2020-08-12 16:04:20 +01:00
parent 9a940c0df5
commit 7cf2104a6b

View file

@ -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"