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