An open API service indexing awesome lists of open source software.

https://github.com/neworbit/bootstrap-datepicker

Custom angular datepicker based on angular-ui/bootstrap
https://github.com/neworbit/bootstrap-datepicker

package

Last synced: about 1 year ago
JSON representation

Custom angular datepicker based on angular-ui/bootstrap

Awesome Lists containing this project

README

          

# bootstrap-datepicker

> Our custom angular datepicker based on [angular-ui/bootstrap](https://github.com/angular-ui/bootstrap)

## Install

```
$ npm install --save neworbit/bootstrap-datepicker#v2.0.0
```

```
$ bower install --save neworbit/bootstrap-datepicker#^2
```

## Usage

### With npm
```js
import bootstrapDatepicker from 'bootstrap-datepicker';

const app = angular.module('app', [
bootstrapDatepicker
]);
```

### With bower

```html

var app = angular.module('app', [
'ui.bootstrap'
]);

```

## Api

- [DatePicker](https://github.com/angular-ui/bootstrap/tree/0.13.0/src/datepicker/docs)
- [TimePicker](https://github.com/angular-ui/bootstrap/tree/0.13.0/src/timepicker/docs)

## CSS

### Using SASS:
- In your core scss file: `@import "~bootstrap-datepicker/dist/style.css";`

### Not using SASS:
- ``

To override colours, see the comments in src/datepicker.scss

## Release

- update version on `readme.md`
- `$ npm version --force major | minor | patch`
- `$ git push --follow-tags`

## License

MIT © [NewOrbit](http://neworbit.co.uk)