-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# vue-page-visibility | ||
|
||
A Vue 2.x component of easy-to-config page visibility api | ||
|
||
### Introduction | ||
|
||
[Demo](https://sevenoutman.github.io/vue-aplayer) | ||
|
||
## Install | ||
|
||
``` | ||
$ npm install vue-page-visibility --save | ||
``` | ||
|
||
## Usage | ||
|
||
```HTML | ||
<VuePageVisibility | ||
@documentInactive="documentInactive" | ||
@documentActive="documentActive" > | ||
</VuePageVisibility> | ||
|
||
``` | ||
|
||
```JS | ||
import VuePageVisibility from 'vue-page-visibility' | ||
|
||
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/SevenOutman/vue-aplayer/issues) if you find a bug. | ||
|
||
Feature requests and PRs are welcome. | ||
|
||
## LICENSE | ||
|
||
MIT Licensed. See [LICENSE](https://github.com/SevenOutman/vue-aplayer/blob/master/LICENSE). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.