mody-ecom-js
v0.1.0
Published
Mody.ai js library
Downloads
5
Maintainers
Readme
Include mody library in your html code
<script src="https://unpkg.com/[email protected]/build/mody.min.js" defer></script>
Setup required fields
After lib is included, add the following tag
<script src="https://unpkg.com/[email protected]/build/mody.min.js"
data-mody
data-entity="entity-uuid" //optional
data-item="item-uuid"
data-cta="Find your size"
data-fail="An error has occurred"
data-success="Your size is $mody-size! Tap for a new one"
data-qr="Scan this QRcode to start with Mody"
defer>
Rebuild lib
npm run build