Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@nightingale-elements/nightingale-navigation
Advanced tools
Navigation component for the Nightingale tool
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"
/>
ruler-start: number (default 1)
The scale of coordinates will start from this value.
ruler-padding: number (default 10)
a horizontal padding to add on the ruler, to give the component a zooming efect even when the whole sequence is selected
scale-factor: number (default 10)
The quanity use to scale in or out when using the methods zoomIn
or zoomOut
show-highlight: boolean (default false)
A shade representing a highlighted area can be added over the component.
locate(start: number, end: number)
Locates the selected area of the navigation component triggering the events related to it.
zoomIn()
Reduces the selected area of the navigation component by the quantity specified in the scale-factor
attribute.
zoomOut()
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
FAQs
Navigation component for the Nightingale tool
We found that @nightingale-elements/nightingale-navigation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.