2.0.0 • Published 5 years ago

espot v2.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

eSpot widget

How to build and run

To start the build and server, execute:

npm run start

It is deployed at localhost:9303

To test:

npm test

How to use

Adding the component on a page:

<script src="https://www.ibm.com/marketplace/static/components/e-spots.min.js"></script>

Please maintain correct protocol here (HTTPS)

example:

<body>
...
    <script src="https://www.ibm.com/marketplace/static/components/e-spots.min.js"></script>
</body>

Add the container element to the page:

<div class="e-spot ibm-hide" data-type="(espot-type)" data-color="(espot-color)" data-product-id="(product-key)" data-product-locale="(locale)" role="(region)" aria-label="(espot-label-details)">
</div>