Skip to content

Shopnative/Verkauf-Bochum-Tailor-Docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Verkauf Bochum - Tailor

Setup

  • Serve the bundle as an asset
  • Load the bundle as a module
  • Instantiate the product-configurator CWC
  • Provide the data as a JSON script tag

≫ See /Component/


Interface

Create & load a module that defines the interface.

  1. Await the custom element
    ( product-configurator )

  2. Query the CWC element.

  3. Initiates the interface via
    the initialize method.


await customElemnts
    .whenDefined('product-configurator')

const element = document
    .querySelector(`product-configurator`)

element.initialize({ api })

≫ See /API/


About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks