Integration
{siteConfig.baseURL}
At its simplest, MyMy can be added by performing the following:
- Including or pasting one of the provided html sections (e.g. simple_section.html or fadeable_section.html) into your webpage. They are only a few lines long and include several html elements that are referenced from the javascript, like the button to upload images, or the canvas to paint onto.
- Including mymy_makeup.js, where all the client-side functionality resides.
- Calling our init function.
Additionally, if you want to display several products, you'll need to create buttons to switch between them as we have done in the example eyeshadow_swatches.html.