• Overview
@angular/common/upgrade

$locationShimProvider

Class

The factory function used to create an instance of the $locationShim in Angular, and provides an API-compatible $locationProvider for AngularJS.

  
    class $locationShimProvider {}
  
  

Factory method that returns an instance of the $locationShim

hashPrefix

void

Stub method used to keep API compatible with AngularJS. This setting is configured through the LocationUpgradeModule's config method in your Angular app.

@paramprefixstring | undefined
@returnsvoid

html5Mode

void

Stub method used to keep API compatible with AngularJS. This setting is configured through the LocationUpgradeModule's config method in your Angular app.

@parammodeany
@returnsvoid
Jump to details