- 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,
To install via npm,
install vue-adblock
<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>
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.