angular2 calendar
Demo
https://mattlewis92.github.io/angular2-calendar/demo/
Table of contents
About
A calendar component that can display events on a month, week or day view. The successor of: https://github.com/mattlewis92/angular-bootstrap-calendar
Installation
Install through npm:
npm install --save angular2-calendar
For a full e2e example see the demo source. Better docs to follow in the future!
Usage without a module bundler
<script src="node_modules/angular2-calendar/dist/umd/angular2-calendar.js"></script>
<script>
// everything is exported angular2Calendar namespace
</script>
Documentation
All documentation is auto-generated from the source via typedoc and can be viewed here:
https://mattlewis92.github.io/angular2-calendar/docs/
Angular 1 version
https://github.com/mattlewis92/angular-bootstrap-calendar
Development
Prepare your environment
- Install Node.js and NPM (should come with)
- Install local dev dependencies:
npm install
while current directory is this repo
Development server
Run npm start
to start a development server on port 8000 with auto reload + tests.
Testing
Run npm test
to run tests once or npm run test:watch
to continually run tests.
Release
- Bump the version in package.json (once the module hits 1.0 this will become automatic)
npm run release
License
MIT