Angular2 date picker - Angular2 reusable UI component
Simple Angular2 date picker. Uses version "2.0.0-beta.8" of Angular2.
##Getting Started
- Fork and clone this repo
- npm install
- Run the TypeScript compiler and watch for changes "npm run tsc"
- Open second terminal and launch the app in the browser "npm start"
To install this component to an external project, follow the procedure:
-
Make sure you're using Webpack and have installed
raw-loader
. -
npm install ForNeVeR/mydatepicker
. -
import {MyDatePicker} from 'MyDatePicker/src/app/mydatepicker';
-
Use the following snippet inside your template:
<my-date-picker [options]="myDatePickerOptions" (dateChanged)="onDateChanged($event)" [selDate]="selectedDate"></my-date-picker>
Online demo is here
- Firefox (latest)
- Chromium (latest)
- License: MIT
- Author: kekeh