gridstack_update_widget
Modify widget properties like position, size, and behavior in GridStack dashboards to customize layout appearance and functionality.
Instructions
Update widget properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| el | Yes | Widget selector or ID to update | |
| opts | Yes | Properties to update |
Input Schema (JSON Schema)
{
"properties": {
"el": {
"description": "Widget selector or ID to update",
"type": "string"
},
"opts": {
"description": "Properties to update",
"properties": {
"content": {
"type": "string"
},
"h": {
"type": "number"
},
"locked": {
"type": "boolean"
},
"maxH": {
"type": "number"
},
"maxW": {
"type": "number"
},
"minH": {
"type": "number"
},
"minW": {
"type": "number"
},
"noMove": {
"type": "boolean"
},
"noResize": {
"type": "boolean"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"required": [
"el",
"opts"
],
"type": "object"
}