vue-adblock
v0.0.3
Published
vuejs adblock detection
Downloads
14
Readme
- Lead Maintainer: David Roche
Vue adblock is a plugin for vue js. It detects if a user visting your website has adblock running in their browser. If adblock is running the plugin emit's a value back to the parent component.
- Post a github issue,
Install
To install via npm,
install vue-adblock
Quick Example
<template>
<div id="app">
<adblock @passValue="add = $event"></adblock>
</div>
</template>
import adblock from 'vue-adblock'
export default {
name: 'app',
components: {
adblock
},
data () {
return {
add:''
}
}
}
<style>
</style>
Contributing
If you feel you can help in any way, be it with bug reporting, documentation, examples, extra testing, or new features feel free to create an issue, or better yet, [submit a Pull Request.