Open a link in browser for NW.js and browser.
####browser to browser
$ npm install --save nwjs-open-link-in-browser
<script type="text/javascript" src="build/nwjs-open-link-in-browser.js"></script>
<a
href="https://github.com/lyrictenor/nwjs-emoji-app"
onClick="nwjsOpenLinkInBrowser();"
>
github.com/lyrictenor/nwjs-emoji-app
</a>
<button
type="button"
onclick="nwjsOpenLinkInBrowser('http://example.com');"
>
Example.com
</button>
var nwjsOpenLinkInBrowser = require("nwjs-open-link-in-browser");
<a
href="https://github.com/lyrictenor/nwjs-emoji-app"
onClick={nwjsOpenLinkInBrowser.bind(this)}
>
github.com/lyrictenor/nwjs-emoji-app
</a>
<button
type="button"
onClick={nwjsOpenLinkInBrowser.bind(this, "http://example.com")}
>
Example.com
</button>
Jump to the href property.
Optional
Type: string
Jump to url.
MIT © sanemat