Events
PLT widget methods
showEditor(deco_id)
Shows designer modal window and loads the canvas with the provided decoration id (deco_id).
- deco_id
- Type: String
- Required
myLogoTool.showEditor('10039701_1_2004_1075'); // decoration_id passed as parameter
getProductList(decoration_id_list)
Gets the decoration information using the list of provided decoration ids. The information retrieved will be stored in the PLT object which is used to create visualization on the products.
- deco_id_list
- Type: String (Comma separated list of decoration ids of all products in page)
- Required
// Get products decoration information
myLogoTool.getProductList('deco_id_1','deco-id_2', 'deco_id_3');
createQuickVisualizer()
Creates the visualizer widget.
- Takes no parameter
// create the widget
myLogoTool.createQuickVisualizer();