From eaf73f0a3e7bd0a5b794b97d1a91554be0c74b63 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 15 Mar 2025 15:56:06 +0200 Subject: akg: min, max, step properties are now supported --- src/js/arching-kaos-generator.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/arching-kaos-generator.js b/src/js/arching-kaos-generator.js index a39a77b..8dc189c 100644 --- a/src/js/arching-kaos-generator.js +++ b/src/js/arching-kaos-generator.js @@ -30,6 +30,9 @@ export function makeElement(obj, attachTo) if ( obj.property !== undefined ) temp.property = obj.property; if ( obj.className !== undefined && obj.element !== 'svg') temp.className = obj.className; if ( obj.rel !== undefined ) temp.rel = obj.rel; + if ( obj.min !== undefined ) temp.min = obj.min; + if ( obj.max !== undefined ) temp.max = obj.max; + if ( obj.step !== undefined ) temp.step = obj.step; if ( obj.href !== undefined ) temp.href = obj.href; if ( obj.style !== undefined ) temp.style = obj.style; if ( obj.src !== undefined ) temp.src = obj.src; -- cgit v1.2.3