Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
code42day-calendar
Advanced tools
Calendar UI component designed for use as a date-picker, full-sized calendar or anything in-between.
Live demo is here
$ nom install --save code42day-calendar
var Calendar = require('code42day-calendar');
var cal = new Calendar;
cal.el.appendTo('body');
view change
(date, action) when the viewed month/year is changed without modification of the selected date. This can be done either by next/prev buttons or dropdown menu. The action will be "prev", "next", "month" or "year" depending on what action caused the view to change.change
(date) when the selected date is modifiedInitialize a new Calendar
with the given date
shown,
defaulting to now.
Select the given date
(Date
object).
Show the given date
. This does not select the given date,
it simply ensures that it is visible in the current view.
Add month selection input.
Add year selection input, with optional range specified by from
and to
,
which default to the current year -10 / +10.
Show the previous view (month).
Show the next view (month).
Define earliest valid date - calendar won't generate change
events for dates before this one.
Define latest valid date - calendar won't generate change
events for dates after this one.
Set alternative locale:
locales
- Optional. A string with a BCP 47 language tag, or an array of such strings. For the general form and interpretation of the locales argument, see the Intl page.For browsers which do not support Intl
in not available only English locale is supported.
MIT
FAQs
Calendar component
The npm package code42day-calendar receives a total of 0 weekly downloads. As such, code42day-calendar popularity was classified as not popular.
We found that code42day-calendar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.