Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kewah/vue-once
Adds an event listener that will be invoked a single time
https://github.com/kewah/vue-once
Last synced: 4 months ago
JSON representation
Adds an event listener that will be invoked a single time
- Host: GitHub
- URL: https://github.com/kewah/vue-once
- Owner: kewah
- License: other
- Archived: true
- Created: 2014-06-12T13:46:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-10T08:47:25.000Z (about 10 years ago)
- Last Synced: 2024-09-18T20:28:51.420Z (5 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vue-cn - Vue once directive ★10
README
# vue-once
[Vue.js](https://github.com/yyx990803/vue) directive.
Adds an event listener that will be invoked a single time.## Install
With Component(1):
```bash
$ component install kewah/vue-once
```With [npm](http://npmjs.org) do:
```bash
$ npm install vue-once --save
```## Usage
```js
var Vue = require('vue');
var vueOnce = require('vue-once');
Vue.use(vueOnce);
``````html
```## License
MIT