Package Exports
- clicktone
- clicktone/dist/index.js
- clicktone/dist/index.module.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (clicktone) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
clicktone
A simple class to create elements that play audio when clicked.
➤ Install
yarn add clicktone
➤ Import
import ClickTone from 'clicktone';
➤ Usage
const clickTone = new ClickTone();
clickTone.init('myButton', 'sound.mp3');
➤ License
clicktone is released under MIT license.