@lowdefy/blocks-basic
Version:
Basic html Lowdefy blocks.
41 lines (40 loc) • 1.39 kB
JSON
{
"type": "object",
"properties": {
"type": "object",
"additionalProperties": false,
"properties": {
"direction": {
"type": "string",
"enum": ["row", "column", "row-reverse", "column-reverse"],
"description": "List content along a 'row' or down a 'column'. Applies the 'flex-direction' css property to the List block."
},
"wrap": {
"type": "string",
"enum": ["wrap", "nowrap", "wrap-reverse"],
"description": "Specifies wrapping style to be applied to List block as 'wrap', 'nowrap' or 'wrap-reverse'. Applies the 'flex-wrap' css property to the List block - defaults to 'wrap', requires List direction to be set."
},
"scroll": {
"type": "boolean",
"description": "Specifies whether scrolling should be applied to the List, can be true or false. Applies the 'overflow' css property to the List block - defaults to 'visible', requires List direction to be set."
},
"style": {
"type": "object",
"description": "Css style object to apply to List block.",
"docs": {
"displayType": "yaml"
}
}
}
},
"events": {
"type": "object",
"additionalProperties": false,
"properties": {
"onClick": {
"type": "array",
"description": "Trigger actions when the List is clicked."
}
}
}
}