protvista-navigation
v3.8.22
Published
Navigation component for the ProtVista tool
Downloads
942
Readme
protvista-navigation
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.
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.