proto-float-wc
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

proto-float-wc

a technology POC...

usage

yarn install
yarn demo

features

  • stencil based web component
  • uses mitt for an eventbus
  • uses nanoid to generate internal id in web component
  • uses floating-ui to create the popover which holds the iframe
  • uses postMessage to communicate to/from iframe
  • uses a resize-iframe message to pass size back to the web component

articles

references

  • floating-ui - low-level library for positioning "floating" elements.
  • mitt - tiny 200 byte functional event emitter / pubsub.
  • nanoid - tiny (130 bytes), secure, URL-friendly, unique string ID generator for JavaScript.

Readme

Keywords

none

Package Sidebar

Install

npm i proto-float-wc

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

519 kB

Total Files

71

Last publish

Collaborators

  • eswat2