0.0.1 • Published 6 years ago

hub-annotations-component v0.0.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

Hub Annotations Component

This is a web component for embedding Hub annotations into websites.

Using this component

Script tag

  • Publish to NPM
  • Put a script tag similar to this <script src='https://unpkg.com/hub-annotations-component@0.0.1/dist/hub-annotations-component.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install hub-annotations-component --save
  • Put a script tag similar to this <script src='node_modules/hub-annotations-component/dist/hub-annotations-component.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install hub-annotations-component --save
  • Add an import to the npm packages import hub-annotations-component;
  • Then you can use the element anywhere in your template, JSX, html etc

Built With Stencil