1.1.2 • Published 6 years ago

external-link-new-tab v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

external-link-new-tab

Useful when you need to open external url in new tab.

window.open will normally open external links as Popups.

Install

$ npm install external-link-new-tab --save

Usage

import { openInNewTab } from 'external-link-new-tab';

openInNewTab("https://solankiamit.com")

API

options

Type: Object

timeout

Type: number Default: 20

Number of milliseconds after which the new tab will open the link. (normally you won't have to change this. You have option to change it, because why not 😉)

License

MIT © Amit Solanki

1.1.2

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago