preset knobs
parent
368952c35a
commit
ef1ceab64a
@ -1,4 +1,8 @@
|
|||||||
const container = document.querySelector("#panel-container");
|
const container = document.querySelector("#panel-container");
|
||||||
|
const preset = { ...document.querySelector("#data-params").dataset };
|
||||||
|
|
||||||
const svg = container.querySelector("svg").outerHTML;
|
const svg = container.querySelector("svg").outerHTML;
|
||||||
|
|
||||||
let panel = new Panel(svg, container);
|
let panel = new Panel(svg, container, preset);
|
||||||
|
|
||||||
|
// there is something about ... but is not that
|
||||||
|
Loading…
Reference in New Issue