4.5.0 • Published 3 days ago

@nightingale-elements/nightingale-interpro-track v4.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 days ago

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.

4.5.1-alpha.1

3 days ago

4.5.1-alpha.5

3 days ago

4.4.0-alpha.0

10 months ago

4.5.0-alpha.0

10 months ago

4.4.1-alpha.0

10 months ago

4.5.0

9 months ago

4.2.1-alpha.0

11 months ago

4.2.2-alpha.0

11 months ago

4.0.2-gamma.0

1 year ago

4.0.3-gamma.0

1 year ago

4.0.24-alpha.0

1 year ago

4.0.1-gamma.0

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

4.2.1

1 year ago

4.0.3

1 year ago

4.0.15-alpha.0

1 year ago

4.0.23-alpha.0

1 year ago

4.0.19-alpha.0

1 year ago

4.0.18-alpha.0

1 year ago

4.0.22-alpha.0

1 year ago

4.0.21-alpha.0

1 year ago

4.0.7-alpha.0

1 year ago

4.0.6-alpha.0

1 year ago

4.0.5-alpha.0

1 year ago

4.0.4-alpha.0

1 year ago

4.0.3-alpha.0

1 year ago

4.0.2-alpha.0

1 year ago

4.0.1-alpha.0

1 year ago

4.0.0-alpha.5

1 year ago