Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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