@geneontology/wc-go-ribbon
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

Built With Stencil

GO Ribbon Web Component

Try the GO ribbon here: http://geneontology.org/ribbon.html

Getting Started

Script tag

  • Put a script tag <script src='https://unpkg.com/@geneontology/wc-go-ribbon/dist/wc-go-ribbon.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc
<html>
<head>
  <script type="module" src="https://unpkg.com/@geneontology/wc-go-ribbon/dist/wc-go-ribbon/wc-go-ribbon.esm.js"></script>
  <script nomodule="" src="https://unpkg.com/@geneontology/wc-go-ribbon/dist/wc-go-ribbon/wc-go-ribbon.js"></script>
</head>
<body>

  <!--  This add the full go ribbon (strips + table) to your page for two RGD genes -->
  <wc-go-ribbon subjects="RGD:620474,RGD:3889" />

</body>
</html>

Node Modules

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

Readme

Keywords

none

Package Sidebar

Install

npm i @geneontology/wc-go-ribbon

Weekly Downloads

132

Version

0.0.14

License

BSD-3

Unpacked Size

1.62 MB

Total Files

73

Last publish

Collaborators

  • pkalita-lbl
  • kltm
  • cmungall
  • tmushayahama
  • smoxon