New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

d-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d-datepicker

Datepicker component for Derby

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
1
Created
Source

d-datepicker

Datepicker component for Derby.

Screenshot of datepicker component

Please note that this project is inspired by Bootstrap-datepicker, and makes use of a css-file from that project.

Features

  • Datepicker tied to a standard form input field.
  • Inline datepicker.
  • Localized datepicker.

Format

Dates set by datepicker will be in the format YYYY-MM-DD (2014-04-16).

TODO

  • Use personalized formats for dates.

Usage example

First of make sure to install d-datepicker through npm npm install d-datepicker.

Including

app.use(require('d-datepicker'));

In template

<Body:>
  <!-- datepicker tied to a standard form input field -->
  <datepicker active="{{post.date}}"></datepicker>

  <!-- inline datepicker -->
  <datepicker active="{{post.date}}" inline></datepicker>

  <!-- localized datepicker -->
  <datepicker active="{{post.date}}" inline lang="fr"></datepicker>

Retrieve data

var pickedDate = model.get('post.date');

Keywords

datepicker

FAQs

Package last updated on 17 Aug 2014

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