Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rxbsxn/ember-cleave
Cleave.js wrapper made with Ember.js
https://github.com/rxbsxn/ember-cleave
cleavejs emberjs javascript
Last synced: 3 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T07:37:49.000Z (4 months ago)
- Last Synced: 2024-10-12T05:22:01.462Z (3 months 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
------------------------------------------------------------------------------
![alt text](https://raw.githubusercontent.com/Rxbsxn/Ember-cleave/master/addon-preview.png "Addon 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).