填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写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.