Releases: nfiniteAI/display-controller
Releases · nfiniteAI/display-controller
v2.0.0
⚠ BREAKING CHANGES
- The content inside your container is now a web-component but not an iframe
You can still fallback to the old mode by passingembedMode: iframe
in the options - You cannot use an existing iframe anymore
- You cannot use anymore data-hubstairs attributes as options parameters on your container
Features
- app embedMode JS (cb98a47)
- embed js display model (!142) (6a60ab7)
- remove insertion with a preexisting iframe (5947c05)
- remove insertion with html attributes (538e83c)
Bug Fixes
- display-js: render webcomponent on insert (8262654)
v1.9.0
v1.8.0
v1.7.2
v1.7.1
v1.7.0
Features
- add initialProducts and initialProductsMode options (c809865)
It's now possible to choose in the infinite display which products will be displayed as initial product
For that, you have to send an array of product code in the initialProducts
option
It's also possible to choose the mode to display initial products:
random
: if the product is not in theinitialProducts
list we will use a random product at the locationdefault
: if the product is not in theinitialProducts
list we will use the product set in the back office at the location
For that, you have to use the option initialProductsMode