angular/goldens/public-api/platform-browser/animations/index.api.md
Jessica Janiuk 9766116cea refactor(animations): deprecate the animations package (#62795)
This deprecates the animations package in favor of using `animate.enter` and `animate.leave` with intent to remove the full package in v22.2.

DEPRECATED: @angular/animations

PR Close #62795
2025-07-29 09:50:09 +00:00

1.6 KiB

API Report File for "@angular/platform-browser_animations"

Do not edit this file. It is a report generated by API Extractor.


import { ANIMATION_MODULE_TYPE } from '@angular/core';
import * as i0 from '@angular/core';
import * as i1 from '@angular/common';
import { ModuleWithProviders } from '@angular/core';
import { Provider } from '@angular/core';

export { ANIMATION_MODULE_TYPE }

// @public @deprecated
export class BrowserAnimationsModule {
    static withConfig(config: BrowserAnimationsModuleConfig): ModuleWithProviders<BrowserAnimationsModule>;
    // (undocumented)
    static ɵfac: i0.ɵɵFactoryDeclaration<BrowserAnimationsModule, never>;
    // (undocumented)
    static ɵinj: i0.ɵɵInjectorDeclaration<BrowserAnimationsModule>;
    // (undocumented)
    static ɵmod: i0.ɵɵNgModuleDeclaration<BrowserAnimationsModule, never, never, [typeof BrowserModule]>;
}

// @public @deprecated
export interface BrowserAnimationsModuleConfig {
    disableAnimations?: boolean;
}

// @public @deprecated
export class NoopAnimationsModule {
    // (undocumented)
    static ɵfac: i0.ɵɵFactoryDeclaration<NoopAnimationsModule, never>;
    // (undocumented)
    static ɵinj: i0.ɵɵInjectorDeclaration<NoopAnimationsModule>;
    // (undocumented)
    static ɵmod: i0.ɵɵNgModuleDeclaration<NoopAnimationsModule, never, never, [typeof BrowserModule]>;
}

// @public @deprecated
export function provideAnimations(): Provider[];

// @public @deprecated
export function provideNoopAnimations(): Provider[];

// (No @packageDocumentation comment for this package)