Refactor settings code; Add props access to every settings item

This commit is contained in:
MauriceNino
2023-02-14 13:41:59 +01:00
parent 4c2c2fb564
commit d8931644d8
4 changed files with 62 additions and 36 deletions

View File

@@ -28,6 +28,11 @@ const definition = defineWidget({
graphHeight: {
type: 'number',
defaultValue: 115,
inputProps: {
step: 5,
stepHoldDelay: 500,
stepHoldInterval: 100,
},
},
graphsOrder: {
type: 'draggable-list',