Toolbar
Save Button
<script>
const designerDiv = document.getElementById("designer");
const designer = AnkaReport.designer({
element: designerDiv,
});
designer.menu.saveButton.addEventListener("click", () => {
const layout = designer.toJSON();
console.log(layout);
});
</script>