Skip to content

mothepro/lit-p2p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<lit-p2p>

A web component to simplify finding peers using fancy-p2p and material UI

npm Published on webcomponents.org

Install

yarn add lit-p2p

How to Use

Attribute Type Default Description
state number -1 Disconnected State of the underlying P2P instance. Include this attribute to start!
<!-- 
  Import the element.

  The `module` query parameter expands "bare" imports to full unpkg.com urls.
  This means use of an import map isn't needed.
  @see https://unpkg.com#query-params
-->
<script type="module" src="//unpkg.com/lit-p2p/dist/esm/index.js?module"></script>

TODO

  • Better docs API
  • Improve method for passing READY state data to <slot>
  • Show who ack'd proposal

About

A web component to simplify finding peers using fancy-p2p and Material UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published