2023-04-07 06:47:10 +00:00
const DataViewLayoutOptionsProps = [
{
name : 'modelValue' ,
type : 'string' ,
default : 'null' ,
description : 'Value of the component.'
2023-05-09 22:39:10 +00:00
} ,
{
name : 'pt' ,
type : 'any' ,
default : 'null' ,
2023-08-01 14:01:12 +00:00
description : 'Used to pass attributes to DOM elements inside the component.'
2023-04-07 06:47:10 +00:00
}
] ;
const DataViewLayoutOptionsSlots = [
{
name : 'listicon' ,
description : 'Custom list icon template.'
} ,
{
name : 'gridicon' ,
description : 'Custom grid icon template.'
}
] ;
2022-09-12 07:13:52 +00:00
module . exports = {
dataviewlayoutoptions : {
2022-09-14 14:26:41 +00:00
name : 'DataViewLayoutOptions' ,
description : 'When both layout modes are enabled in DataView, a UI element would be necessary to let the user toggle between the view. DataViewLayoutOptions is a helper component to display a buttonset to choose the layout mode in DataView.' ,
2023-04-07 06:47:10 +00:00
'doc-url' : 'dataview' ,
props : DataViewLayoutOptionsProps ,
slots : DataViewLayoutOptionsSlots
2022-09-12 07:13:52 +00:00
}
} ;