ng-datespicky
v0.1.0
Published
AngularJS Date Range Picker written in TypeScript with no additional dependencies
Downloads
378
Readme
AngularJS DatesPicky
AngularJS Date Range Picker written in TypeScript with no additional dependencies
This library is based on the popular Date Range Picker, but unlike many Angular date pickers, does not depend on it.
Code is written in AngularJS directly in TypeScript.
How to use it
If you want to add this library to your project just run:
# yarn (recommended)
yarn add ng-datespicky
# npm
npm i --save ng-datespicky
When package is installed add dates-picky
as dependency in main app module:
angular.module('app', [..., 'dates-picky', ...]);
Additionally you need to include styles for dates-picky
as well. If you are using Webpack, you can do this by including this line in your scss
files:
@import "~ng-datespicky/src/styles";
In the future there will be css files bundled in the build as well.
How to Contribute
Configure dev's environment
First of all, you need to have this library present on your hard disk. Let's start with cloning this repository
git clone [email protected]:yhnavein/ng-datespicky.git
yarn
After that you need to link npm library with this repository:
cd ng-datespicky
yarn link
cd ../APP-PROJECT # go to the project location
yarn link "ng-datespicky"
This will create a symbolic link from your project to this library and you will see changes almost instantly