Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-bootstrap-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-bootstrap-datepicker - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

blueprints/bootstrap-datepicker/index.js
module.exports = {
normalizeEntityName: function() {},
afterInstall: function() {

@@ -3,0 +5,0 @@ return this.addBowerPackageToProject('bootstrap-datepicker');

8

package.json
{
"name": "ember-cli-bootstrap-datepicker",
"version": "0.0.3",
"version": "0.0.4",
"directories": {

@@ -13,7 +13,7 @@ "doc": "doc",

},
"repository": "https://github.com/stefanpenner/ember-cli",
"repository": "https://github.com/soulim/ember-cli-bootstrap-datepicker",
"engines": {
"node": ">= 0.10.0"
},
"author": "",
"author": "Alex Sulim",
"license": "MIT",

@@ -36,4 +36,4 @@ "devDependencies": {

"ember-addon",
"ember-datepicker",
"bootstrap-datepicker",
"bootstrap",
"datepicker"

@@ -40,0 +40,0 @@ ],

@@ -1,25 +0,72 @@

# Ember CLI datepicker based on bootstrap-datepicker
# Ember CLI datepicker
The addon can be used in Ember CLI applications. It's based on [bootstrap-datepicker](https://github.com/eternicode/bootstrap-datepicker).
The addon provides you a `bootstrap-datapicker` input component. It can be used in Ember CLI applications.
The input component is based on [bootstrap-datepicker library](https://github.com/eternicode/bootstrap-datepicker).
## Installation
* `git clone` this repository
* `npm install`
* `bower install`
```bash
npm install --save-dev npm install --save-dev ember-cli-bootstrap-datepicker
ember generate bootstrap-datepicker
```
## Running
## Usage
* `ember server`
* Visit your app at http://localhost:4200.
```handlebars
{{bootstrap-datepicker value=expiresAt}}
```
## Running Tests
The component supports many options of the bootstrap-datepicker library:
* `ember test`
* `ember test --server`
* **autoclose**, default value `true`
* **format**, default value `dd.mm.yyyy`
* **weekStart**, default value 1 (Monday)
* **todayHighlight**, default value `false`
* **todayBtn**, default value `false`
## Building
Let me show you how to use all these options.
* `ember build`
Autoclose:
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).
```handlebars
{{bootstrap-datepicker value=expiresAt autoclose=false}}
```
Format:
```handlebars
{{bootstrap-datepicker value=expiresAt format='dd/mm/yy'}}
```
weekStart:
```handlebars
{{bootstrap-datepicker value=expiresAt weekStart=0}}
```
todayHighlight:
```handlebars
{{bootstrap-datepicker value=expiresAt todayHighlight=true}}
```
todayBtn:
```handlebars
{{bootstrap-datepicker value=expiresAt todayBtn=true}}
```
All options at once:
```handlebars
{{bootstrap-datepicker value=expiresAt autoclose=false format='dd/mm/yy' weekStart=0 todayHighlight=true todayBtn=true}}
```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc