Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nightingale-elements/nightingale-interpro-track

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nightingale-elements/nightingale-interpro-track

Interpro extension of the track type.

  • 5.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

nightingale-interpro-track

Published on NPM

InterPro extension of the track component

Usage

<nightingale-interpro-track
  id="track"
  width="600"
  length="490"
  display-start="1"
  display-end="490"
  highlight="20:50,40:80"
  shape="roundRectangle"
  expanded
></nightingale-interpro-track>

API Reference

Attributes

expanded: boolean (default: false)

When true the children of the main track (if any), will be displayed. false indicates they should be hidden.

"show-label": boolean (default: false)

Set to true if a label should be rendered over each feature.

label: string | null (default: null)

Defines what to displays as label.

  • If this is not set, but show-label is true, the component will render the accession of the feature as label.
  • If is set, and starts with "." it will use its value as a selector in the feature object, for instance if label=".feature.name" it will try to get the value of feature.name for each particular feature, if the property doesn't exist, it won't render anything as label.
  • If is set with a string that doesn't start with "." this string will be used as label.

Other attributes and parameters

This component inherits from nigthingale-track.

The component implements the following mixins: withManager, withResizable, withMargin, withPosition, withDimensions, withHighlight, and withZoom.

Keywords

FAQs

Package last updated on 23 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc