https://github.com/rxbsxn/ember-cleave
Cleave.js wrapper made with Ember.js
https://github.com/rxbsxn/ember-cleave
cleavejs emberjs javascript
Last synced: 12 months ago
JSON representation
Cleave.js wrapper made with Ember.js
- Host: GitHub
- URL: https://github.com/rxbsxn/ember-cleave
- Owner: Rxbsxn
- License: mit
- Created: 2019-03-01T10:45:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T07:37:49.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T05:22:01.462Z (over 1 year ago)
- Topics: cleavejs, emberjs, javascript
- Language: JavaScript
- Size: 1.48 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
ember-cleave
==============================================================================
The addon is a wrapper on [Cleave.js](https://github.com/nosir/cleave.js) package made with Ember.js
Preview
------------------------------------------------------------------------------

Installation
------------------------------------------------------------------------------
```
ember install ember-cleave
```
Usage
------------------------------------------------------------------------------
Define a options object in your component:
```js
// component.js
dateOptions: computed(function() {
return {
date: true,
datePattern: ['Y', 'm', 'd']
}
}),
```
Then in your template:
```hbs
```
Check documentation of [Cleave.js](https://nosir.github.io/cleave.js/) to see more usage options
License
------------------------------------------------------------------------------
This project is licensed under the [MIT License](LICENSE.md).