mdPickers
Material Design date/time pickers built with Angular Material and Moment.js
Note: This repository was forked from alenaksu/mdPickers because of apparent inactivity. With version 1.0.0 I merged some important pull requests and added a lot of minor features myself (see changelog for details). In order to publish the update I renamed the package to md-pickers
on bower. In the future will do my best to integrate further pull requests.
Online demos
Requirements
Using mdPickers
Install via Bower:
bower install md-pickers
Alternatively, npm:
npm install md-pickers
Use in Angular:
angular.module( 'YourApp', [ 'mdPickers' ] )
.controller("YourController", YourController );
Roadmap
Contributing
All contributions are welcome. In order to keep the code nice and clean please follow the boy scout rule.
Note on spaces vs. tabs: This project consistently uses 4 spaces for indentation.
Building mdPickers
First install or update your local project's npm and bower tools:
npm install
bower install
npm update
bower update
Then run the default gulp task:
gulp
gulp demo
To run the demo:
./node_modules/http-server/bin/http-server
npm install -g http-server
http-server
Then browse /demo
(or /demo-dist
if you built it) on the printed address.
Release
- Check that changes work on demo
- Check that changes work on demo-dist
- Update version in
bower.json
and packages.json
- Add changes to
CHANGELOG.md
- Build
dist
and demo-dist
folders - Create new tag for the version
- Submit to npm:
npm publish
License
Please see LICENSE file.