Socket
Socket
Sign inDemoInstall

@baianat/datepicker

Package Overview
Dependencies
3
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @baianat/datepicker

ES6 date picker extension for Base framework.


Version published
Maintainers
1
Install size
6.68 MB
Created

Readme

Source

Datepicker(WIP)

ES6 date picker extension for Base framework.

Getting Started

Installation

You can install datepicker as part of base.extensions.

npm install @baianat/base.extensions

# or using yarn
yarn add @baianat/base.extensions

If you want the standalone version.

npm install @baianat/datepicker

yarn add @baianat/datepicker

Include necessary files

<head>
  <link rel="stylesheet" href="dist/css/datepicker.css">
</head>
<body>
    ...
    <script type="text/javascript" src="dist/js/datepicker.js"></script>
</body>

HTML Layout

You need an input element to output the date value on it.

<input id="myDate">

Create the Datepicker

You now need to create a new Datepicker instance.

const myDate = new Datepicker('#myDate', { settings });
OPTIONDEFAULTDESCRIPTION
dateFormat'YYYY-MM-DD'string that represents the output date format

License

MIT

Copyright (c) 2017 Baianat

FAQs

Last updated on 04 Feb 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc