@shop25/tracking-iframe
v0.0.5
Published
```bash npm i @shop25/tracking-iframe ```
Downloads
15
Readme
Install
npm i @shop25/tracking-iframe
Usage
import { createWidget } '@shop25/tracking-iframe'
const mountElement = document.querySelector('#widget');
const iframe = createWidget({
mountElement,
host: 'https://traking....',
service: 'my-site.ru'
trackNumber: 'code'
carrierUid: 'uid'
})
iframe.delete()