1.0.0 • Published 7 years ago

extension-link-enabler v1.0.0

Weekly downloads
13
License
MIT
Repository
github
Last release
7 years ago

Extension-Link-Enabler

Enable links in your browser plugin, today! Compatible with most modern browsers.

Usage

For React Components

const linker = require('extension-link-enabler')

Component.prototype.componentDidMount = function () {
  var node = findDOMNode(this)
  linker.setupListener(node)
}

Component.prototype.componentWillUnmount = function () {
  var node = findDOMNode(this)
  linker.teardownListener(node)
}