2D/3D Configurator
Get started
Generate code snippet under Admin Panel -> Product -> Copy Embed Code (button). Copy and paste embed code onto your website.
There are two ways to load embed on your page.
Web component
We provide web component which allows you may easily add to any website or web application. Since it's framework-agnostic it should work fine with any frontend framework.
<mmq-embed short-code="F95SNI" locale="en" with-history></mmq-embed>
To learn more about it, click here.
data-mimeeq element
Deprecation
This way of using Mimeeq Embed is deprecated. Please use above method.
Embed will be inserted exactly where you put the snippet (specifically, data-mimeeq
element).
<div data-mimeeq data-mimeeq-short-code="F95SNI" data-withhistory data-locale="en"></div>
<script
src="https://jrdgrq09nk.execute-api.eu-central-1.amazonaws.com/api/cpq/get-embed-short-code-data?shortCode=F95SNI&html=1"
rel="script"
type="application/javascript"
async></script>
Parameters
When you generate the code snippet, you can customize things like:
- disabling UI elements
- changing localization
- customizing brand colors
- customizing font
- customizing display style
To see list of parameters, click here.
Controlling visibility
There is multiple ways to control configurator visibility
Display
render-at-mount
attribute onmmq-embed
element. This will display embed as soon as it's loaded.data-mimeeq-render-at-mount
attribute on element withdata-mimeeq
attribute. This will display embed as soon as it's loaded.- Trigger
mimeeq-show-configurator
event on yourdocument
. This allows you to enable it on demand but requires a bit of coding on host site. You can find full example here. - Call
mimeeqApp.utils.showConfigurator
method. This works similar to previous option. Learn more about this way here. - Call
show
method onmmq-embed
element.
Hide
- Call
mimeeqApp.utils.closeConfigurator
method. It will hide any configurator on page. Learn more here. - Trigger
mimeeq-unmount
event on element withdata-mimeeq
attribute. - Call
hide
method onmmq-embed
element.