protvista-navigation

3.8.10 • Public • Published

protvista-navigation

Published on NPM

This custom element can be used to zoom and navigate along the sequence displayed in ProtVista. When a user interacts with the component, a change event is triggered which uses to change displaystart and displayend values on relevant custom elements.

Demo

Usage

<protvista-navigation
  length="456"
  displaystart="143"
  displayend="400"
  highlightStart="23"
  highlightEnd="45"
  rulerstart="50"
/>

API Reference

length: number

The protein or nucleic acid sequence length.

displaystart: number (optional)

The start position of the selected region.

displayend: number (optional)

The end position of the selected region.

highlightStart: number (optional)

The start position of the highlighted region.

highlightEnd: number (optional)

The end position of the highlighted region.

rulerstart: number (optional)

The starting coordinate of the ruler.

also see protvista-zoomable

Package Sidebar

Install

npm i protvista-navigation

Weekly Downloads

125

Version

3.8.10

License

ISC

Unpacked Size

47.2 kB

Total Files

7

Last publish

Collaborators

  • xwatkins
  • ljgarcia
  • mmahmoudy
  • 4ndr01d3
  • aurel-l
  • swaathik
  • dlrice2