This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

date-range-pickr
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

ng-daterangepicker CI status

GitHub package version

This is advanced angular library built in angular 5 with range selection and time selection.

Installation

Requirements

  • momentjs
  • angular v5

$ npm i date-range-pickr

Usage

<rj-date-range-pickr dateformat="DD-MMM-YYYY" (dateEmit)="onOpen($event)" credit=0></rj-date-range-pickr>


Usage in detail:

You can use 'dateformat' to format date and display - follows momentjs date dateformat You can use 'dateEmit' to retrieve the date and format it for your purpose or communicating to parent components Optional credit attribute to give me some credits :)

module file settings

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import {DateRangePickrModule} from 'date-range-pickr';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,DateRangePickrModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Package Sidebar

Install

npm i date-range-pickr

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

200 kB

Total Files

26

Last publish

Collaborators

  • raulkg