A platform combines multiple tutorials, projects, documentations, questions and answers for developers
  • Home (current)
  • Documentations
  • About
  • Login
  1. Home
  2. Documentations
  3. Angular 8
  4. setAngularLib

setAngularLib

function deprecated

Deprecated: Use setAngularJSGlobal instead.

setAngularLib(ng: any): void

Deprecated Use setAngularJSGlobal instead.

Parameters
ng any
Returns

void

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/upgrade/static/setAngularLib

Guide
Accessibility in Angular
Angular CLI Builders
Angular Documentation Style Guide
Angular Elements Overview
Angular Language Service
Angular Versioning and Releases
Angular Workspace Configuration
Angular compiler options
Angular service worker introduction
AngularJS to Angular Concepts: Quick Reference
Animations transitions and triggers
AoT metadata errors
App shell
Architecture overview
Attribute Directives
Authoring Schematics
Bootstrapping
Browser support
Building and serving Angular apps
Building with Bazel
Cheat Sheet
Complex animation sequences
Component Interaction
Component Styles
Creating Libraries
Dependency Injection in Action
Dependency Injection in Angular
Dependency Providers
Deployment
Deprecated APIs and Features
Displaying Data
Dynamic Component Loader
Dynamic Forms
Entry Components
Feature Modules
Form Validation
Frequently Used Modules
Getting started with service workers
Glossary
Hierarchical injectors
HttpClient
Internationalization (i18n)
Introduction to Angular animations
Introduction to components
Introduction to forms in Angular
Introduction to modules
Introduction to services and dependency injection
JavaScript Modules vs. NgModules
Keeping your Angular Projects Up-to-Date
Lazy Loading Feature Modules
Lifecycle Hooks
Navigate the component tree with DI
Next steps: tools and techniques
NgModule API
NgModule FAQs
NgModules
Observables
Observables compared to other techniques
Observables in Angular
Opting into Angular Ivy
Overview of Angular Libraries
Pipes
Practical observable usage
Providers
Reactive Forms
Reusable animations
Route transition animations
Routing & Navigation
Schematics
Schematics for Libraries
Security
Server-side Rendering (SSR): An intro to Angular Universal
Service worker communication
Service worker configuration
Service worker in production
Setting up the Local Environment and Workspace
Setup for Upgrading from AngularJS
Sharing Modules
Singleton services
Structural Directives
Style Guide
Template Syntax
Template-driven forms
Testing
The Ahead-of-Time (AOT) compiler
The RxJS library
TypeScript Configuration
Types of Feature Modules
Upgrading for Performance
Upgrading from AngularJS to Angular
User Input
Using Angular with Visual Studio 2015
Using Published Libraries
Using Web Workers with Angular CLI
Workspace and project file structure
Workspace npm dependencies
Tutorial
0. The Application Shell
1. The Hero Editor
2. Display a Heroes List
3. Master/Detail Components
4. Services
5. Routing
6. HTTP
Tour of Heroes App and Tutorial
common
$locationShim
$locationShimProvider
@angular/common
@angular/common/http
@angular/common/http/testing
@angular/common/testing
@angular/common/upgrade
APP_BASE_HREF
AngularJSUrlCodec
AsyncPipe
CommonModule
CurrencyPipe
DOCUMENT
DatePipe
DecimalPipe
DeprecatedCurrencyPipe
DeprecatedDatePipe
DeprecatedDecimalPipe
DeprecatedI18NPipesModule
DeprecatedPercentPipe
FormStyle
FormatWidth
HTTP_INTERCEPTORS
HashLocationStrategy
HttpBackend
HttpClient
HttpClientJsonpModule
HttpClientModule
HttpClientTestingModule
HttpClientXsrfModule
HttpDownloadProgressEvent
HttpErrorResponse
HttpEvent
HttpEventType
HttpHandler
HttpHeaderResponse
HttpHeaders
HttpInterceptor
HttpParameterCodec
HttpParams
HttpProgressEvent
HttpRequest
HttpResponse
HttpResponseBase
HttpSentEvent
HttpTestingController
HttpUploadProgressEvent
HttpUrlEncodingCodec
HttpUserEvent
HttpXhrBackend
HttpXsrfTokenExtractor
I18nPluralPipe
I18nSelectPipe
JsonPipe
JsonpClientBackend
JsonpInterceptor
KeyValue
KeyValuePipe
LOCATION_INITIALIZED
LOCATION_UPGRADE_CONFIGURATION
Location
LocationChangeEvent
LocationChangeListener
LocationStrategy
LocationUpgradeConfig
LocationUpgradeModule
LowerCasePipe
MOCK_PLATFORM_LOCATION_CONFIG
MockLocationStrategy
MockPlatformLocation
MockPlatformLocationConfig
NgClass
NgClassBase
NgComponentOutlet
NgForOf
NgForOfContext
NgIf
NgIfContext
NgLocaleLocalization
NgLocalization
NgPlural
NgPluralCase
NgStyle
NgStyleBase
NgSwitch
NgSwitchCase
NgSwitchDefault
NgTemplateOutlet
NumberFormatStyle
NumberSymbol
PathLocationStrategy
PercentPipe
PlatformLocation
Plural
PopStateEvent
RequestMatch
SlicePipe
SpyLocation
TestRequest
Time
TitleCasePipe
TranslationWidth
UpperCasePipe
UrlCodec
ViewportScroller
WeekDay
XhrFactory
formatCurrency
formatDate
formatNumber
formatPercent
getCurrencySymbol
getLocaleCurrencyName
getLocaleCurrencySymbol
getLocaleDateFormat
getLocaleDateTimeFormat
getLocaleDayNames
getLocaleDayPeriods
getLocaleEraNames
getLocaleExtraDayPeriodRules
getLocaleExtraDayPeriods
getLocaleFirstDayOfWeek
getLocaleId
getLocaleMonthNames
getLocaleNumberFormat
getLocaleNumberSymbol
getLocalePluralCase
getLocaleTimeFormat
getLocaleWeekEndRange
getNumberOfCurrencyDigits
isPlatformBrowser
isPlatformServer
isPlatformWorkerApp
isPlatformWorkerUi
registerLocaleData
animations
@angular/animations
@angular/animations/browser
@angular/animations/browser/testing
AUTO_STYLE
AnimateChildOptions
AnimateTimings
AnimationAnimateChildMetadata
AnimationAnimateMetadata
AnimationAnimateRefMetadata
AnimationBuilder
AnimationDriver
AnimationEvent
AnimationFactory
AnimationGroupMetadata
AnimationKeyframesSequenceMetadata
AnimationMetadata
AnimationMetadataType
AnimationOptions
AnimationPlayer
AnimationQueryMetadata
AnimationQueryOptions
AnimationReferenceMetadata
AnimationSequenceMetadata
AnimationStaggerMetadata
AnimationStateMetadata
AnimationStyleMetadata
AnimationTransitionMetadata
AnimationTriggerMetadata
MockAnimationDriver
MockAnimationPlayer
NoopAnimationPlayer
animate
animateChild
animation
group
keyframes
query
sequence
stagger
state
style
transition
trigger
useAnimation
core
@angular/core
@angular/core/testing
ANALYZE_FOR_ENTRY_COMPONENTS
APP_BOOTSTRAP_LISTENER
APP_ID
APP_INITIALIZER
AbstractType
AfterContentChecked
AfterContentInit
AfterViewChecked
AfterViewInit
ApplicationInitStatus
ApplicationModule
ApplicationRef
Attribute
COMPILER_OPTIONS
CUSTOM_ELEMENTS_SCHEMA
ChangeDetectionStrategy
ChangeDetectorRef
ClassProvider
ClassSansProvider
CollectionChangeRecord
Compiler
CompilerFactory
CompilerOptions
Component
ComponentFactory
ComponentFactoryResolver
ComponentFixture
ComponentFixtureAutoDetect
ComponentFixtureNoNgZone
ComponentRef
ConstructorProvider
ConstructorSansProvider
ContentChild
ContentChildren
DebugElement
DebugEventListener
DebugNode
DefaultIterableDiffer
Directive
DoBootstrap
DoCheck
ElementRef
EmbeddedViewRef
ErrorHandler
EventEmitter
ExistingProvider
ExistingSansProvider
FactoryProvider
FactorySansProvider
ForwardRefFn
GetTestability
Host
HostBinding
HostListener
INJECTOR
Inject
InjectFlags
InjectSetupWrapper
Injectable
InjectableProvider
InjectableType
InjectionToken
Injector
InjectorType
Input
IterableChangeRecord
IterableChanges
IterableDiffer
IterableDifferFactory
IterableDiffers
KeyValueChangeRecord
KeyValueChanges
KeyValueDiffer
KeyValueDifferFactory
KeyValueDiffers
LOCALE_ID
MetadataOverride
MissingTranslationStrategy
ModuleWithComponentFactories
ModuleWithProviders
NO_ERRORS_SCHEMA
NgIterable
NgModule
NgModuleFactory
NgModuleFactoryLoader
NgModuleRef
NgProbeToken
NgZone
OnChanges
OnDestroy
OnInit
Optional
Output
PACKAGE_ROOT_URL
PLATFORM_ID
PLATFORM_INITIALIZER
Pipe
PipeTransform
PlatformRef
Predicate
Provider
Query
QueryList
ReflectiveInjector
ReflectiveKey
RenderComponentType
Renderer
Renderer2
RendererFactory2
RendererStyleFlags2
RendererType2
ResolvedReflectiveFactory
ResolvedReflectiveProvider
RootRenderer
Sanitizer
SchemaMetadata
SecurityContext
Self
SimpleChange
SimpleChanges
SkipSelf
StaticClassProvider
StaticClassSansProvider
StaticProvider
SystemJsNgModuleLoader
SystemJsNgModuleLoaderConfig
TRANSLATIONS
TRANSLATIONS_FORMAT
TemplateRef
TestBed
TestBedStatic
TestComponentRenderer
TestModuleMetadata
Testability
TestabilityRegistry
TrackByFunction
Type
TypeDecorator
TypeProvider
ValueProvider
ValueSansProvider
Version
ViewChild
ViewChildren
ViewContainerRef
ViewEncapsulation
ViewRef
WrappedValue
WtfScopeFn
asNativeElements
assertPlatform
async
createPlatform
createPlatformFactory
defineInjectable
destroyPlatform
discardPeriodicTasks
enableProdMode
fakeAsync
flush
flushMicrotasks
forwardRef
getDebugNode
getModuleFactory
getPlatform
getTestBed
inject
inject
isDevMode
platformCore
resetFakeAsyncZone
resolveForwardRef
setTestabilityGetter
tick
withModule
wtfCreateScope
wtfEndTimeRange
wtfLeave
wtfStartTimeRange
elements
@angular/elements
NgElement
NgElementConfig
NgElementConstructor
NgElementStrategy
NgElementStrategyEvent
NgElementStrategyFactory
WithProperties
createCustomElement
forms
@angular/forms
AbstractControl
AbstractControlDirective
AbstractControlOptions
AbstractFormGroupDirective
AsyncValidator
AsyncValidatorFn
COMPOSITION_BUFFER_MODE
CheckboxControlValueAccessor
CheckboxRequiredValidator
ControlContainer
ControlValueAccessor
DefaultValueAccessor
EmailValidator
Form
FormArray
FormArrayName
FormBuilder
FormControl
FormControlDirective
FormControlName
FormGroup
FormGroupDirective
FormGroupName
FormsModule
MaxLengthValidator
MinLengthValidator
NG_ASYNC_VALIDATORS
NG_VALIDATORS
NG_VALUE_ACCESSOR
NgControl
NgControlStatus
NgControlStatusGroup
NgForm
NgFormSelectorWarning
NgModel
NgModelGroup
NgSelectOption
NumberValueAccessor
PatternValidator
RadioControlValueAccessor
RangeValueAccessor
ReactiveFormsModule
RequiredValidator
SelectControlValueAccessor
SelectMultipleControlValueAccessor
ValidationErrors
Validator
ValidatorFn
Validators
platform-browser
@angular/platform-browser
@angular/platform-browser/animations
@angular/platform-browser/testing
ANIMATION_MODULE_TYPE
BrowserAnimationsModule
BrowserModule
BrowserTestingModule
BrowserTransferStateModule
By
DomSanitizer
EVENT_MANAGER_PLUGINS
EventManager
HAMMER_GESTURE_CONFIG
HAMMER_LOADER
HammerGestureConfig
HammerLoader
Meta
MetaDefinition
NoopAnimationsModule
SafeHtml
SafeResourceUrl
SafeScript
SafeStyle
SafeUrl
SafeValue
StateKey
Title
TransferState
disableDebugTools
enableDebugTools
makeStateKey
platformBrowser
platformBrowserTesting
platform-browser-dynamic
@angular/platform-browser-dynamic
@angular/platform-browser-dynamic/testing
BrowserDynamicTestingModule
JitCompilerFactory
RESOURCE_CACHE_PROVIDER
platformBrowserDynamic
platformBrowserDynamicTesting
platform-server
@angular/platform-server
@angular/platform-server/testing
BEFORE_APP_SERIALIZED
INITIAL_CONFIG
PlatformConfig
PlatformState
ServerModule
ServerTestingModule
ServerTransferStateModule
platformDynamicServer
platformServer
platformServerTesting
renderModule
renderModuleFactory
platform-webworker
@angular/platform-webworker
ClientMessageBroker
ClientMessageBrokerFactory
FnArg
MessageBus
MessageBusSink
MessageBusSource
ReceivedMessage
SerializerTypes
ServiceMessageBroker
ServiceMessageBrokerFactory
UiArguments
WORKER_APP_LOCATION_PROVIDERS
WORKER_UI_LOCATION_PROVIDERS
WorkerAppModule
bootstrapWorkerUi
platformWorkerApp
platformWorkerUi
platform-webworker-dynamic
@angular/platform-webworker-dynamic
platformWorkerAppDynamic
router
@angular/router
@angular/router/testing
@angular/router/upgrade
ActivatedRoute
ActivatedRouteSnapshot
ActivationEnd
ActivationStart
CanActivate
CanActivateChild
CanDeactivate
CanLoad
ChildActivationEnd
ChildActivationStart
ChildrenOutletContexts
Data
DefaultUrlSerializer
DeprecatedLoadChildren
DetachedRouteHandle
Event
ExtraOptions
GuardsCheckEnd
GuardsCheckStart
InitialNavigation
LoadChildren
LoadChildrenCallback
Navigation
NavigationCancel
NavigationEnd
NavigationError
NavigationExtras
NavigationStart
NoPreloading
OutletContext
PRIMARY_OUTLET
ParamMap
Params
PreloadAllModules
PreloadingStrategy
QueryParamsHandling
ROUTER_CONFIGURATION
ROUTER_INITIALIZER
ROUTES
Resolve
ResolveData
ResolveEnd
ResolveStart
Route
RouteConfigLoadEnd
RouteConfigLoadStart
RouteReuseStrategy
Router
RouterEvent
RouterLink
RouterLinkActive
RouterLinkWithHref
RouterModule
RouterOutlet
RouterPreloader
RouterState
RouterStateSnapshot
RouterTestingModule
RouterUpgradeInitializer
Routes
RoutesRecognized
RunGuardsAndResolvers
Scroll
SpyNgModuleFactoryLoader
UrlHandlingStrategy
UrlMatchResult
UrlMatcher
UrlSegment
UrlSegmentGroup
UrlSerializer
UrlTree
convertToParamMap
provideRoutes
setUpLocationSync
setupTestingRouter
service-worker
@angular/service-worker
ServiceWorkerModule
SwPush
SwRegistrationOptions
SwUpdate
UpdateActivatedEvent
UpdateAvailableEvent
upgrade
@angular/upgrade
@angular/upgrade/static
@angular/upgrade/static/testing
UpgradeAdapter
UpgradeAdapterRef
UpgradeComponent
UpgradeModule
createAngularJSTestingModule
createAngularTestingModule
downgradeComponent
downgradeInjectable
downgradeModule
getAngularJSGlobal
getAngularLib
setAngularJSGlobal
setAngularLib
Miscellaneous
CLI Overview and Command Reference
Deployment
Forms
Gathering and Viewing Usage Analytics
Getting Started with Angular: Your First App
Managing Data
Routing
ng add
ng analytics
ng build
ng config
ng deploy
ng doc
ng e2e
ng generate
ng help
ng lint
ng new
ng run
ng serve
ng test
ng update
ng version
ng xi18n
Copyright ©2025 TypeError Powered By AnyPost, page cost 82ms.
Privacy Policy