填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

@angular/common/upgrade

Provides tools for upgrading from the $location service provided in AngularJS to Angular's unified location service.

入口點的匯出

Entry point exports

NgModules

LocationUpgradeModule

NgModule 用於提供和配置 Angular 的統一 location 服務以進行升級。

NgModule used for providing and configuring Angular's Unified Location Service for upgrading.

類別

Classes

$locationShim

位置服務,提供對 AngularJS 中提供的 $location 服務的直接替代品。

Location service that provides a drop-in replacement for the $location service provided in AngularJS.

$locationShimProvider

Angular 中用於建立 $locationShim 實例的工廠函式,並為 AngularJS 提供與 API 相容的 $locationProvider

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

AngularJSUrlCodec

一個 UrlCodec,它使用 AngularJS 中的邏輯來序列化和解析 URL 和 URL 引數。

A UrlCodec that uses logic from AngularJS to serialize and parse URLs and URL parameters.

UrlCodec

用於編碼和解碼 URL 部分的編解碼器。

A codec for encoding and decoding URL parts.

結構

Structures

LocationUpgradeConfig

LocationUpgrade 的配置選項。

Configuration options for LocationUpgrade.

型別

Types

LOCATION_UPGRADE_CONFIGURATION

提供者令牌,用於配置 location 升級模組。

A provider token used to configure the location upgrade module.