@shop25/taskbook-iframe
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

Install

npm i @shop25/taskbook-iframe

Usage

import { createWidget } '@shop25/taskbook-iframe'


const mountElement = document.querySelector('#widget');

const widget = createWidget({
    mountElement,
    host: 'https://...',
    projectSlug: 'partsbypost'
})

widget.onSetCount((count) => console.log(count))
widget.setOrder('store-24') # когда виджен уже загружен
widget.delete()

Readme

Keywords

none

Package Sidebar

Install

npm i @shop25/taskbook-iframe

Weekly Downloads

0

Version

0.0.14

License

none

Unpacked Size

7.98 kB

Total Files

6

Last publish

Collaborators

  • elon26
  • mdanon
  • ssipak
  • vovka25