Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/open-url/docs/types/index.d"

Index

Functions

Functions

Export assignment openURL

  • openURL(url: string): any
  • Opens a URL.

    Notes

    • In a non-browser environment, the function returns an unreferenced child process. In a browser environment, the function returns a reference to a window object.
    throws

    must provide a valid URI

    Parameters

    • url: string

      URL to open

    Returns any

    spawned process (unreferenced)

    Example

    var proc = openURL( 'https://google.com' );