Skip to content

A small simple vue.js component which will let you know if a user is using add-block in their browser.

Notifications You must be signed in to change notification settings

usernamefml/vue-adblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A small simple vue.js component which will let you know if a user is using add-block in their browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages