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

@angular/upgrade/static

Supports the upgrade path from AngularJS to Angular, allowing components and services from both systems to be used in the same application.

入口點的匯出

Entry point exports

NgModules

UpgradeModule

An NgModule, which you import to provide AngularJS core services, and has an instance method used to bootstrap the hybrid upgrade application.

函式

Functions

downgradeComponent

A helper function that allows an Angular component to be used from AngularJS.

downgradeInjectable

A helper function to allow an Angular service to be accessible from AngularJS.

downgradeModule

A helper function for creating an AngularJS module that can bootstrap an Angular module "on-demand" (possibly lazily) when a downgraded component needs to be instantiated.

getAngularJSGlobal

Returns the current AngularJS global.

getAngularLib

已棄用: Use getAngularJSGlobal instead.

setAngularJSGlobal

Resets the AngularJS global.

setAngularLib

已棄用: Use setAngularJSGlobal instead.

指令

Directives

UpgradeComponent

A helper class that allows an AngularJS component to be used from Angular.