8000 GitHub - stefanodotit/vue-page-visibility-awesome: A Vue 2.x component of easy-to-config page visibility api
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stefanodotit/vue-page-visibility-awesome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
< 924E div class="react-directory-filename-column">
 
 

Repository files navigation

vue-page-visibility-awesome

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

Introduction

Demo

Install

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

Usage

    <VuePageVisibility 
        @documentInactive="documentInactive" 
        @documentActive="documentActive" >
    </VuePageVisibility>
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 if you find a bug.

Feature requests and PRs are welcome.

LICENSE

MIT Licensed. See LICENSE.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0