@getsensibill/web-post-message-bus
TypeScript icon, indicating that this package has built-in type declarations

0.2.13 • Public • Published

Sensibill Web Post Message Bus

This project adds inter iframe communication capabilities using window.postMessage under the hood.

# Using npm
npm i @getsensibill/web-post-message-bus

# Using yarn
yarn add @getsensibill/web-post-message-bus

Import where you need it

import { SensibillPostMessageBus } from '@getsensibill/web-post-message-bus';

Events are also imported like this

import { LaunchCaptureEvent } from '@getsensibill/web-post-message-bus';

Example Usage

SensibillPostMessageBus.send(new LaunchCaptureEvent());

Build

yarn build:npm

Readme

Keywords

none

Package Sidebar

Install

npm i @getsensibill/web-post-message-bus

Weekly Downloads

1

Version

0.2.13

License

UNLICENSED

Unpacked Size

97.4 kB

Total Files

43

Last publish

Collaborators

  • glebq2
  • kollolsb
  • poojanpreet
  • cplouffe_sensibill
  • sensibot
  • bdegraaf
  • areeb-sb
  • finansibill
  • fredsensibill
  • fabioyamada