keywords |
labels |
title |
|
|
CanvasPanelCfg kind |
Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
CanvasPanelCfg
Version: 0.0
Property |
Type |
Required |
Default |
Description |
BackgroundConfig |
object |
Yes |
|
|
BackgroundImageSize |
string |
Yes |
|
Possible values are: original , contain , cover , fill , tile . |
CanvasConnection |
object |
Yes |
|
|
CanvasElementOptions |
object |
Yes |
|
|
ConnectionCoordinates |
object |
Yes |
|
|
ConnectionPath |
string |
Yes |
|
Possible values are: straight . |
Constraint |
object |
Yes |
|
|
HorizontalConstraint |
string |
Yes |
|
Possible values are: left , right , leftright , center , scale . |
HttpRequestMethod |
string |
Yes |
|
Possible values are: GET , POST , PUT . |
LineConfig |
object |
Yes |
|
|
Options |
object |
Yes |
|
|
Placement |
object |
Yes |
|
|
VerticalConstraint |
string |
Yes |
|
Possible values are: top , bottom , topbottom , center , scale . |
BackgroundConfig
Property |
Type |
Required |
Default |
Description |
color |
ColorDimensionConfig |
No |
|
|
image |
ResourceDimensionConfig |
No |
|
Links to a resource (image/svg path) |
size |
string |
No |
|
Possible values are: original , contain , cover , fill , tile . |
ColorDimensionConfig
It extends BaseDimensionConfig.
Property |
Type |
Required |
Default |
Description |
field |
string |
No |
|
(Inherited from BaseDimensionConfig) fixed: T -- will be added by each element |
fixed |
string |
No |
|
|
BaseDimensionConfig
Property |
Type |
Required |
Default |
Description |
field |
string |
No |
|
fixed: T -- will be added by each element |
ResourceDimensionConfig
Links to a resource (image/svg path)
It extends BaseDimensionConfig.
Property |
Type |
Required |
Default |
Description |
mode |
string |
Yes |
|
Possible values are: fixed , field , mapping . |
field |
string |
No |
|
(Inherited from BaseDimensionConfig) fixed: T -- will be added by each element |
fixed |
string |
No |
|
|
CanvasConnection
ConnectionCoordinates
Property |
Type |
Required |
Default |
Description |
x |
number |
Yes |
|
|
y |
number |
Yes |
|
|
ScaleDimensionConfig
It extends BaseDimensionConfig.
Property |
Type |
Required |
Default |
Description |
max |
number |
Yes |
|
|
min |
number |
Yes |
|
|
field |
string |
No |
|
(Inherited from BaseDimensionConfig) fixed: T -- will be added by each element |
fixed |
number |
No |
|
|
mode |
string |
No |
|
Possible values are: linear , quad . |
CanvasElementOptions
Constraint
Property |
Type |
Required |
Default |
Description |
horizontal |
string |
No |
|
Possible values are: left , right , leftright , center , scale . |
vertical |
string |
No |
|
Possible values are: top , bottom , topbottom , center , scale . |
LineConfig
Placement
Property |
Type |
Required |
Default |
Description |
bottom |
number |
No |
|
|
height |
number |
No |
|
|
left |
number |
No |
|
|
right |
number |
No |
|
|
top |
number |
No |
|
|
width |
number |
No |
|
|
Options
Property |
Type |
Required |
Default |
Description |
inlineEditing |
boolean |
Yes |
true |
Enable inline editing |
root |
object |
Yes |
|
The root element of canvas (frame), where all canvas elements are nested TODO: Figure out how to define a default value for this |
showAdvancedTypes |
boolean |
Yes |
true |
Show all available element types |
Root
The root element of canvas (frame), where all canvas elements are nested
TODO: Figure out how to define a default value for this
Property |
Type |
Required |
Default |
Description |
elements |
CanvasElementOptions[] |
Yes |
|
The list of canvas elements attached to the root element |
name |
string |
Yes |
|
Name of the root element |
type |
string |
Yes |
|
Type of root element (frame) Possible values are: frame . |