ivy-angular-mydatepicker
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

angular-mydatepicker

Angular datepicker and date range picker

https://github.com/sundar-pk/angular-mydatepicker

NPM Package   NPM Downloads   Codecov Coverage   Build Status   License


Note: This repository was originally forked from kekeh/angular-mydatepicker but the original repository had not been maintained for a year and was then deleted without any notice 😕. Hence this detached fork.

This updated version uses "compilationMode": "partial" for use in Ivy-enabled applications.

If you need a version compatible with an older (View Engine) Angular application, the original package can be found here.

Credits : kekeh / nodro7


Install

npm install ivy-angular-mydatepicker

Changelog

CHANGELOG.md has been deprecated, for recent changes see GitHub releases.


Browser support (tested)

Chrome Firefox Edge IE11 Safari iOS Safari
✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Description

Highly configurable Angular datepicker and date range picker.

Basic idea to create this library was to make it as configurable as possible. The library is implemented as a directive. It is done this way, because then there is more choices to configure it.

Main features

  • no dependencies to other libraries
  • currently localized to 47
  • datepicker
  • date range picker
  • popup mode
  • inline mode
  • supports keyboard
  • supports RTL
  • animation of calendar (open/close)
  • awesome configuration possibilities
    • easily set styles to the component which are in line with your page theme
      • calendar
      • input box and input box controls
    • 50 [options]
      • change value of any option dynamically
  • well tested
    • coverage [report]
    • most of the code is from existing libraries which are widely used

Installation

To install this component to an external project, follow the procedure:

  1. npm install ivy-angular-mydatepicker

  2. Add AngularMyDatePickerModule import to your @NgModule as follows:

    import { BrowserModule } from '@angular/platform-browser';
    import { NgModule } from '@angular/core';
    import { FormsModule, ReactiveFormsModule } from '@angular/forms';
    import { AngularMyDatePickerModule } from '@sundar-pk/angular-mydatepicker';
    
    @NgModule({
      declarations: [
        AppComponent
      ],
      imports: [
        BrowserModule,
        ReactiveFormsModule,
        FormsModule,
        AngularMyDatePickerModule
      ],
      providers: [],
      bootstrap: [AppComponent]
    })
    export class AppModule { }

License

  • [MIT]

Original Author

Fork - I Author

Package Sidebar

Install

npm i ivy-angular-mydatepicker

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

1.24 MB

Total Files

114

Last publish

Collaborators

  • meenakshisundaram8489