mdr-angular-datepicker
v1.0.2
Published
Bootstrap Datepicker for angular
Downloads
4
Maintainers
Readme
Angular Bootstrap Datepicker
Angular Bootstrap Datepicker is an Angularjs component that can replacement for datepicker boxes.
##Features
- Uses the native Angularjs scope for data binding
- Fast and lightweight
- Formats support
##Requirements
##Quick start
Several quick start options are available:
- Download the latest release
- Clone the repo:
git clone https://github.com/Modulr/angular-bootstrap-datepicker.git
. - Install with Bower:
bower install mdr-angular-datepicker
. - Install with npm:
npm install mdr-angular-datepicker
.
##What's included
angular-bootstrap-datepicker/
dist/
├── mdr-datepicker.js
└── mdr-datepicker.min.js
##Documentation
####Usage
######Load JS
<script href="angular-bootstrap-datepicker/dist/mdr-datepicker.min.js"></script>
######Code
angular.module('MyApp', ['mdr.datepicker'])
######HTML View or Templates
Basic Directive
<mdr-datepicker model="input" date="output"></mdr-datepicker>
Complete Directive (All attributes)
<mdr-datepicker model="input" date="output" format="d/M/yyyy" placeholder="dd/M/yyyy" disabled="true" required="true"></mdr-datepicker>
####API
######Attributes
Attribute | Type | Description
--- | --- | ---
model | date
| Set date (Input).
date | date
| Get date (Output).
format | string
| It is date format.
placeholder | string
| Text into placeholder.
disabled | boolean
| If required disable the component is marked as true.
required | boolean
| If is required the component is marked as true.
##How to contribute
All contributions are very welcome, We love it. There are several ways to help out:
- Create an issue on GitHub, if you have found a bug
- Write test cases for open bug issues
- Write patches for open bug/feature issues, preferably with test cases included
- Contribute to the documentation
There are a few guidelines that we need contributors to follow so that we have a chance of keeping on top of things.
If you want to making changes Better avoid working directly on the master
branch, to avoid conflicts if you pull in updates from origin, so, if make your contribution under the branch dev
, into folder src/
.
##Community
- Implementation help may be found at Stack Overflow (tagged
mdr-datepicker
).
##Creators
Copyright and license
Code and documentation (c) Copyright 2015 Modulr. Code published under license MIT