
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@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
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.