docs: gridTemplate
This commit is contained in:
parent
8370f350e8
commit
231f5c8312
3 changed files with 5 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ class Menu extends MenuBase {
|
|||
layout: {type: 'string', value: 'circular', choices: ['circular', 'horizontal', 'vertical', 'grid'], help: [
|
||||
'Defines whether the menu\'s layout should be rendered in a circle or in a box'
|
||||
]},
|
||||
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'},
|
||||
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template".'},
|
||||
},
|
||||
class_specific: {
|
||||
toggle: {type: 'boolean', value: false, help: 'Set to `true` to make the menu stay opened after mouse/touch release'},
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class Switch extends MenuBase {
|
|||
_separator_switch_style: 'Switch style',
|
||||
colorTextOn: {type: 'string', value: 'auto', help: 'Defines the widget\'s text color when active.'},
|
||||
layout: {type: 'string', value: 'vertical', choices: ['vertical', 'horizontal', 'grid'], help:'Defines how items should be laid out'},
|
||||
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'},
|
||||
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template".'},
|
||||
},
|
||||
class_specific: {
|
||||
values: {type: 'array|object', value: {'Value 1':1,'Value 2':2}, help: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue