feat: add step as slider param

This commit is contained in:
Felix Roos 2023-10-02 20:44:51 +02:00
parent 1c0da7cd49
commit 28966739f6
2 changed files with 6 additions and 4 deletions

View file

@ -43,6 +43,7 @@ export function transpiler(input, options = {}) {
value: node.arguments[0].raw, // don't use value!
min: node.arguments[1]?.value ?? 0,
max: node.arguments[2]?.value ?? 1,
step: node.arguments[3]?.value,
});
return this.replace(widgetWithLocation(node));
}