# @easepick/bundle

npm version (opens new window)

Bundle of easepick.
Includes all packages.

# Quick example

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>easepick</title>
    <script src="https://cdn.jsdelivr.net/npm/@easepick/bundle@[version.number]/dist/index.umd.min.js"></script>
  </head>
  <body>
    <input id="datepicker"/>
    <script>
      const picker = new easepick.create({
        element: document.getElementById('datepicker'),
        css: [
          'https://cdn.jsdelivr.net/npm/@easepick/bundle@[version.number]/dist/index.css',
        ],
      });
    </script>
  </body>
</html>

# Installation

# NPM

npm install @easepick/bundle

# CDN

<script src="https://cdn.jsdelivr.net/npm/@easepick/bundle@[version.number]/dist/index.umd.min.js"></script>

# Usage

If you’re using a bundler, e.g. webpack (opens new window), you’ll need to import easepick.

import { easepick } from '@easepick/bundle';

Now you can create easepick instance.

const picker = new easepick.create({
  element: document.getElementById('datepicker'),
  css: [
    'https://cdn.jsdelivr.net/npm/@easepick/bundle@[version.number]/dist/index.css',
  ],
});

# Options

See options in @easepick/core and other packages.