-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathmodel.json
More file actions
32 lines (32 loc) · 901 Bytes
/
model.json
File metadata and controls
32 lines (32 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"definitions": {
"Plugin": {
"type": "object",
"x-type": "component",
"properties": {
"mount": {
"type": "string",
"x-source": "inject",
"x-form-label": "Javascript function to call on component mount",
"x-form-hint": "Function must accept (el)",
"x-form-type": "text",
"x-form-group": "content",
"x-default": ""
},
"unmount": {
"type": "string",
"x-source": "inject",
"x-form-label": "Javascript function to call on component unmount",
"x-form-hint": "Function must accept (el)",
"x-form-type": "text",
"x-form-group": "content",
"x-default": ""
},
"bgref": {
"$ref": "fragments/block/model.json#/definitions/Block",
"x-form-type": "reference"
}
}
}
}
}