Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Dropdown minimalistic customizable calendar relying on nothing but AngularJS (and Vanilla)
npm install ng-ucldr
or just grab a .js
file from dist
. It's really not big at all!
...
<script src="/path/to/angular.js"></script>
<script src="/path/to/ucldr.js"></script>
...
<ng-ucldr
bind-to="dateVariable"
default="{day: 12, month: 2, year: 2010}"
months="J F M A M J J A S O N D"
weekdays="M T W T F S S"
year-range="2000 2020"
week-start="1"
></ng-ucldr>
Everything but bind-to
is optional (see src/ng-ucldr.js
for enforced defaults). Keep in mind that the month format for default
follows JavaScript's convention (i.e. 0-11).
dateVariable
yields a date in the same format as default
.
.ucldr {
/* The component container */
}
.ucldr__label {
/* The div containing the clickable date text */
}
.ucldr__table {
/* The table containing the calendar */
}
.ucldr__month {
/* The select containing the months */
}
.ucldr__year {
/* The select containing the years */
}
.ucldr button {
/* The previous/next buttons */
}
.ucldr tbody th {
/* The day headers */
}
.ucldr__day {
/* All of the day frames (including empty ones) */
}
.ucldr__day--past {
/* Days in the past */
}
.ucldr__day--today {
/* Today */
}
.ucldr__day--future {
/* Future */
}
.ucldr__day--selected {
/* Selected date */
}
FAQs
Minimalistic customizable calendar input
The npm package ng-ucldr receives a total of 0 weekly downloads. As such, ng-ucldr popularity was classified as not popular.
We found that ng-ucldr demonstrated a not healthy version release cadence and project activity because the last version was released 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
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.