Defines a button which may appear in control extension points such as the property panel
Example
1
2
3
4
5
6
7
{
"type": "button",
"label": {
"value": "My Custom Control 0"
},
"key": "my-custom-control-0"
}
key
Type | string |
Max length | 100 |
Required | Yes |
Pattern | ^[a-zA-Z0-9-]+$ |
Description | A key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique |
label
Type | i18n Property |
Required | Yes |
Description | Text which will appear inside the button Represents a string that can be resolved via a localization properties file. You can use the same Example1 2 3 4
|
value |
| ||||||||
i18n |
|
type
Type | string |
Required | Yes |
Allowed values |
|
Description | The type field must be set to 'button' |
Rate this page: