matrix: default type to button

This commit is contained in:
bordun 2020-03-24 20:33:37 +01:00
parent 856627604b
commit ca1af1af13

View file

@ -19,7 +19,7 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) {
_matrix: 'matrix',
widgetType: {type: 'string', value: 'toggle', help: 'Defines the type of the widgets in the matrix'},
widgetType: {type: 'string', value: 'button', help: 'Defines the type of the widgets in the matrix'},
layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help:''},
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'},
quantity: {type: 'number', value: 4, help: 'Defines the number of widgets in the matrix'},