
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
date-carousel
Advanced tools
This is a web component for picking a date in a carousel format. Scrolling through dates changes the week in focus. To learn about usage, check out the tests in test/date-carousel_test.js
.
If you are using a javascript bundler like Webpack or Rollup, npm install the module and import it in your JS/TS code.
npm install --save date-carousel
import 'date-carousel/date-carousel.js'
<date-carousel (on-week-change)="onWeekChange($event)" (on-day-pick)="onDayPick($event)"></date-carousel>
<date-carousel useEthiopianCalendar (on-week-change)="onWeekChange($event)" (on-day-pick)="onDayPick($event)"></date-carousel>
weekInView
: The ISO string (yyyy-mm-dd) of value of the first day of the current week.weekUnixValue
: The unix timestamp value in seconds of the first day of the current week.datePicked
: The ISO string (yyyy-mm-dd) of value of the currently selected day.dateUnixValue
: The unix timestamp value in seconds of the currently selected day.NOTE Unix timestamp values do not contain timezone or daylight savings information. Use them wisely.
on-day-picked
: When a user selects a day in the carousel, the attributes datePicked
and dateUnixValue
are updated and the event is dispatched.on-week-change
: When users move forward or back in the date carousel, the attributes weekInView
and weekUnixValue
are updated and the event is dispatched.See CSS variables in the style tag of the component.
git clone ...
cd ...
npm install
npm start
git clone ...
cd ...
npm install
npm start
This component is built using Lit Element for the Tangerine Project.
v5.2.1
FAQs

The npm package date-carousel receives a total of 81 weekly downloads. As such, date-carousel popularity was classified as not popular.
We found that date-carousel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.