This custom element can be used to zoom and navigate along the sequence displayed in Nightingale. When a user interacts with the component, a change
event is triggered which uses to change display-start
and display-end
values on relevant custom elements.
<nightingale-navigation
length="456"
display-start="143"
display-end="400"
highlight="23:45"
rulerstart="1"
/>
The scale of coordinates will start from this value.
a horizontal padding to add on the ruler, to give the component a zooming efect even when the whole sequence is selected
The quanity use to scale in or out when using the methods zoomIn
or zoomOut
A shade representing a highlighted area can be added over the component.
Locates the selected area of the navigation component triggering the events related to it.
Reduces the selected area of the navigation component by the quantity specified in the scale-factor
attribute.
Extends the selected area of the navigation component by the quantity specified in the scale-factor
attribute.
This component inherits from NightingaleElement
.
The component implements the following mixins: withManager
, withResizable
, withMargin
, withPosition
, withDimensions
, withHighlight