Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@edirect/app-datepicker
Advanced tools
A datepicker element based on Google's Material Design built from scratch with Polymer
Material Design datepicker built with Polymer 3
See the component page for more information.
Upgraded to Polymer 3 stable.
Moved to NPM.
Recommended to include the Intl polyfill and web-animations-js polyfill at the top document level.
<app-datepicker></app-datepicker>
<app-datepicker view="horizontal"></app-datepicker>
<app-datepicker theme="dark-theme"></app-datepicker>
<app-datepicker-dialog modal></app-datepicker-dialog>
<app-datepicker-dialog with-backdrop></app-datepicker-dialog>
<app-datepicker-dialog></app-datepicker-dialog>
app-datepicker
provides a regular datepicker element.
While app-datepicker-dialog
has a app-datepicker
being wrapped inside a dialog.
## ( Coming soon!) Generating your own boilerplate code of the compounds
At the end of the demo, there is a section where user can play around with to generate your own boilerplate code with the attributes provided.
Now with mixins, head over to the component page for more details.
Install with npm.
$ npm i app-datepicker
(Optional) Load the dependencies and the Intl and web-animations-js polyfills on unsupported browsers:
<script src="https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations-next.min.js"></script>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale"></script>
Load element in HTML or JS.
<!-- In HTML, load with script[type=module], either `app-datepicker` -->
<script type="module" href="/node_modules/app-datepicker/app-datepicker.js"></script>
<!-- or, `app-datepicker-dialog` -->
<!-- <script type="module" src="/node_modules/app-datepicker/app-datepicker-dialog.js"></script> -->
// Alternatively, loading element in JavaScript.
...
import 'app-datepicker/app-datepicker.js';
...
app-datepicker
and app-datepicker-dialog
:Same as that of Polymer 3.
ECMAScript Internationalization API for locale
. For more details please visit Can I use... Intl?:
11 | 12+ | latest | latest | latest | 10+ ** |
** Intl Polyfill for unsupported browsers
MIT License © Rong Sen Ng
FAQs
A datepicker element based on Google's Material Design built from scratch with Polymer
The npm package @edirect/app-datepicker receives a total of 11 weekly downloads. As such, @edirect/app-datepicker popularity was classified as not popular.
We found that @edirect/app-datepicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.