vue-adblock

0.0.3 • Public • Published

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.

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.

Readme

Keywords

Package Sidebar

Install

npm i vue-adblock

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

40.4 kB

Total Files

4

Last publish

Collaborators

  • davidwroche