Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@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 5 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.