vue-adblock

vuejs adblock detection
1,072 2
Install
npm install vue-adblock
Latest Version:0.0.3
License:ISC
Last Updated:Mar 23, 2018
Links: GitHub  ·  npm
Maintainer: davidwroche

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.

Related Packages

fy-form-render3

测试环境版本新的更新

10,811
use-on-demand

按需使用的代码工具仓库。

5,487
metaflow-js

EntityFramework for Metaflow

2,894 0
paul-utils-js

这是一个js工具代码库

2,296

Version History

Version Released License
0.0.3 ISC
0.0.2 ISC
0.0.1 ISC