JSPM

extension-link-enabler

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 183
  • Score
    100M100P100Q79581F
  • License MIT

Enable links on your browser plugin, today!

Package Exports

  • extension-link-enabler

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (extension-link-enabler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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