@codaline-io/ionic-datepicker
TypeScript icon, indicating that this package has built-in type declarations

0.3.5 • Public • Published

Built With Stencil

ionic-datepicker Build Status

This is a datepicker component for ionic projects. It is using js-datepicker in an ion-popover with the possibility to use an ion-datetime component on mobile devices.

Live Demo & Preview

Bildschirmfoto 2020-03-22 um 16 03 06

Bildschirmfoto 2020-03-22 um 16 04 05

Bildschirmfoto 2020-03-22 um 16 04 10

Bildschirmfoto 2020-03-22 um 16 05 05

Setup

Requirements

  • Install js-datepicker
  • Make them globally available (on window) load js-datepicker css (in an angular project, just add them to your angular.json as scripts and styles)
  • Keep in mind that it is only usable in an ionic project

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/@codaline-io/ionic-datepicker@VERSION/dist/ionic-datepicker.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install @codaline-io/ionic-datepicker --save
  • Put a script tag similar to this <script src='node_modules/@codaline-io/ionic-datepicker/dist/ionic-datepicker.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install @codaline-io/ionic-datepicker --save
  • Add an import to the npm packages import @codaline-io/ionic-datepicker;
  • Then you can use the element anywhere in your template, JSX, html etc

In other frameworks

Usage

  • After the setup use ionic-datepicker as tag in your ionic pwa

Configuration

Styling

  • Styling/theming is done with css-variables.
  • All css variables can be found in the variables.css
  • All color/background variables are using ionic css variables per default

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.510latest
0.0.15-10beta

Version History

VersionDownloads (Last 7 Days)Published
0.3.510
0.3.40
0.3.30
0.3.20
0.3.10
0.3.00
0.2.10
0.2.00
0.1.00
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.15-10
0.0.15-00
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.10-00
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50

Package Sidebar

Install

npm i @codaline-io/ionic-datepicker

Weekly Downloads

10

Version

0.3.5

License

MIT

Unpacked Size

1.03 MB

Total Files

99

Last publish

Collaborators

  • killercodemonkey
  • marcuskirsch