dashy/docs/config-schema/dashy-config-properties-sec...

9.0 KiB

Untitled object in Dashy Config Schema Schema

https://example.com/schemas/abstract#/properties/sections/items/properties/displayData

Optional meta data for customizing a section

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Forbidden none dashy-config.schema.json*

displayData Type

object (Details)

displayData Properties

Property Type Required Nullable Defined by
collapsed boolean Optional cannot be null Dashy Config Schema
color string Optional cannot be null Dashy Config Schema
customStyles string Optional cannot be null Dashy Config Schema
itemSize Not specified Optional cannot be null Dashy Config Schema
rows number Optional cannot be null Dashy Config Schema
cols number Optional cannot be null Dashy Config Schema
layout Not specified Optional cannot be null Dashy Config Schema
itemCountX number Optional cannot be null Dashy Config Schema
itemCountY number Optional cannot be null Dashy Config Schema

collapsed

If true, section needs to be clicked to open

collapsed

collapsed Type

boolean

color

Hex code, or HTML color for section fill

color

color Type

string

customStyles

CSS overides for section container

customStyles

customStyles Type

string

itemSize

Size of items within the section

itemSize

itemSize Type

unknown

itemSize Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"small"
"medium"
"large"

itemSize Default Value

The default value is:

"medium"

rows

The amount of space that the section spans vertically

rows

rows Type

number

rows Constraints

maximum: the value of this number must smaller than or equal to: 5

minimum: the value of this number must greater than or equal to: 1

rows Default Value

The default value is:

1

cols

The amount of space that the section spans horizontally

cols

cols Type

number

cols Constraints

maximum: the value of this number must smaller than or equal to: 5

minimum: the value of this number must greater than or equal to: 1

cols Default Value

The default value is:

1

layout

If set to grid, items have uniform width, and itemCount can be set

layout

layout Type

unknown

layout Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"grid"
"auto"

layout Default Value

The default value is:

"auto"

itemCountX

Number of items per column

itemCountX

itemCountX Type

number

itemCountX Constraints

maximum: the value of this number must smaller than or equal to: 12

minimum: the value of this number must greater than or equal to: 1

itemCountY

Number of items per row

itemCountY

itemCountY Type

number

itemCountY Constraints

maximum: the value of this number must smaller than or equal to: 12

minimum: the value of this number must greater than or equal to: 1