Placing a FPD module into an own HTML element

Modified on Thu, 27 Jul 2023 at 12:44 PM

As our plugin is modular-built, you can easily put all FPD modules into a custom HTML element. That allows to use the modules outside of the product designer mainbar.


var fancyProductDesigner = document.getElementById('fpd-target').instance;

fancyProductDesigner
.addEventListener('ready', function() { //wait until the ui is loaded

  new FPDProductsModule(fancyProductDesigner, document.getElementById('custom-module-wrap')); 

})


data-moduleJS Class
productsFPDProductsModule
images
FPDImagesModule
text
FPDTextModule
designs
FPDDesignsModule
manage-layers
FPDLayersModule
names-numbers
FPDNamesNumbersModule
layouts
FPDLayoutsModule
text-layers
FPDTextLayersModule

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article