🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

frontello-ui-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontello-ui-datepicker

Efficient vanilla datepicker

3.0.12
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Datepicker

Easy to use.

NPM install

`npm i frontello-ui-datepicker

Usage

Form exemple

<form action="" method="">
  <div class="field">
    <label class="label">Date</label>
    <div class="value">
      <input type="date" name="date" value="2022-04-01" required>
    </div>
  </div>
  <div class="field">
    <label class="label">Date</label>
    <div class="value">
      <input type="datetime-local" name="date" value="2022-04-01" required>
    </div>
  </div>
</form>

Init

<link rel="stylesheet" href="datepicker.css">
<script src="datepicker.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
  Datepicker.init(document.querySelectorAll('input[type="date"]'));
  Datepicker.init(document.querySelectorAll('input[type="datetime-local"]'));
});
</script>

FAQs

Package last updated on 28 Nov 2023

Did you know?

Socket

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.

Install

Related posts