extension-link-enabler

1.0.0 • Public • Published

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)
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    10

Package Sidebar

Install

npm i extension-link-enabler

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • zanibas