Ecosyste.ms: Awesome

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

https://github.com/stefanodotit/vue-page-visibility-awesome

A Vue 2.x component of easy-to-config page visibility api
https://github.com/stefanodotit/vue-page-visibility-awesome

List: vue-page-visibility-awesome

Last synced: about 1 month ago
JSON representation

A Vue 2.x component of easy-to-config page visibility api

Lists

README

        

# vue-page-visibility-awesome

A Vue 2.x component of easy-to-config page visibility api

### Introduction

[Demo](https://vue-page-visibility-awesome-demo-znzqxnueqd.now.sh/)

## Install

```
$ npm i vue-page-visibility-awesome --save
```

## Usage

```HTML

```

```JS
import VuePageVisibility from 'vue-page-visibility-awesome'

new Vue({
components: {
VuePageVisibility
}
})
```

### Events

| Name | Params | Description |
| ---- | ------ | ----------- |
| documentInactive | none | Triggered when user leave the focus page |
| documentActive | none | Triggered when user refocus the page |

## Contribute

Feel free to [open an issue](https://github.com/stefanodotit/vue-page-visibility-awesome/issues) if you find a bug.

Feature requests and PRs are welcome.

## LICENSE

MIT Licensed. See [LICENSE](https://github.com/stefanodotit/vue-page-visibility-awesome/blob/master/LICENSE).