Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.04 KB

File metadata and controls

40 lines (29 loc) · 1.04 KB

mydatepicker v. 0.0.2

Angular2 date picker - Angular2 reusable UI component

Description

Simple Angular2 date picker. Uses version "2.0.0-beta.8" of Angular2.

##Getting Started

  1. Fork and clone this repo
  2. npm install
  3. Run the TypeScript compiler and watch for changes "npm run tsc"
  4. Open second terminal and launch the app in the browser "npm start"

Installation

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

  1. Make sure you're using Webpack and have installed raw-loader.

  2. npm install ForNeVeR/mydatepicker.

  3. import {MyDatePicker} from 'MyDatePicker/src/app/mydatepicker';

  4. Use the following snippet inside your template:

    <my-date-picker [options]="myDatePickerOptions"
                    (dateChanged)="onDateChanged($event)"
                    [selDate]="selectedDate"></my-date-picker>

Demo

Online demo is here

Compatibility (tested with)

  • Firefox (latest)
  • Chromium (latest)

License

  • License: MIT

Author

  • Author: kekeh