getURL method

  1. @Deprecated(r'Please use $(ref:runtime.getURL).')
String getURL(
  1. String path
)

Converts a relative path within an extension install directory to a fully-qualified URL. path A path to a resource within an extension expressed relative to its install directory. returns The fully-qualified URL to the resource.

Implementation

@Deprecated(r'Please use $(ref:runtime.getURL).')
String getURL(String path) {
  return $js.chrome.extension.getURL(path);
}