Socket
Socket
Sign inDemoInstall

date-range-pickr

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-range-pickr

![GitHub package version](https://img.shields.io/badge/GitHub%20package%20version-0.0.2-blue.svg?style=popout)


Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 21 Oct 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc