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

0.0.57 • Public • Published

Ribbon Table Web Component

The Ribbon Table is used to list, cluster and order annotations usually selected from the Ribbon Strips. 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-ribbon-table/dist/wc-ribbon-table.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-ribbon-table/dist/wc-ribbon-table/wc-ribbon-table.esm.js"></script>
  <script nomodule="" src="https://unpkg.com/@geneontology/wc-ribbon-table/dist/wc-ribbon-table/wc-ribbon-table.js"></script>
</head>
<body>

  <!--  This add the ribbon table to your page based on a json data object -->
  <wc-ribbon-table data="{your_json_data}"></wc-ribbon-table>

</body>
</html>

Node Modules

  • Run npm install @geneontology/wc-ribbon-table --save
  • Put a script tag similar to this <script src='node_modules/@geneontology/wc-ribbon-table/dist/wc-ribbon-table.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-ribbon-table

Weekly Downloads

68

Version

0.0.57

License

BSD-3

Unpacked Size

1.4 MB

Total Files

68

Last publish

Collaborators

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