🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@geneontology/wc-ribbon-table

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geneontology/wc-ribbon-table

Ribbon Table Web Component

latest
Source
npmnpm
Version
0.0.57
Version published
Maintainers
5
Created
Source

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

FAQs

Package last updated on 02 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts