This example shows how to setup a panel with more configuration, by passing model-data to its argument.
Code-example:
<script src="itsabuild-min.js"></script>
<script>
var modelData;
modelData = {
header: 'title',
footer: '<button class="pure-button">Cancel</button><button class="pure-button">Ok</button>',
content: 'I am a panel',
visible: true,
onTopWhenShowed: true,
headerCloseBtn: true,
draggable: true
};
document.createPanel(modelData);
</script>