StaticinitReference to the element on the page or its selector, defining where to mount the
configurator. For example "#ravak-configurator"
The configurator identifier
Optionaloptions: ConfiguratorInitOptionsAdditional options for configurator initialization
Optionaltexts: Record<string, string>Object with customized texts to be displayed in the configurator
The texts need to be provided in the desired language of the configurator.
<!-- Place where the configurator should be displayed -->
<div id="ravak-configurator"></div>
<!-- ... -->
<!-- Initialize the configurator -->
<script>
window.onload = () => {
const script = document.createElement('script');
script.src = 'https://ravak-configurator.make3db.com/assets/RavakConfigurator.js';
script.defer = true;
script.onload = () => RavakConfigurator.init('#ravak-configurator', 'yard-sets');
document.body.appendChild(script);
};
</script>
Function used for Configurator initialization