Back to Angular

Index.Api

goldens/public-api/animations/browser/index.api.md

22.0.0-next.102.0 KB
Original Source

API Report File for "@angular/animations_browser"

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

ts

import * as i0 from '@angular/core';

// @public @deprecated (undocumented)
export abstract class AnimationDriver {
    // (undocumented)
    abstract animate(element: any, keyframes: Array<Map<string, string | number>>, duration: number, delay: number, easing?: string | null, previousPlayers?: any[], scrubberAccessRequested?: boolean): any;
    // (undocumented)
    abstract computeStyle(element: any, prop: string, defaultValue?: string): string;
    // (undocumented)
    abstract containsElement(elm1: any, elm2: any): boolean;
    abstract getParentElement(element: unknown): unknown;
    // @deprecated (undocumented)
    static NOOP: AnimationDriver;
    // (undocumented)
    abstract query(element: any, selector: string, multi: boolean): any[];
    // (undocumented)
    abstract validateAnimatableStyleProperty?: (prop: string) => boolean;
    // (undocumented)
    abstract validateStyleProperty(prop: string): boolean;
}

// @public @deprecated (undocumented)
export class NoopAnimationDriver implements AnimationDriver {
    // (undocumented)
    animate(element: any, keyframes: Array<Map<string, string | number>>, duration: number, delay: number, easing: string, previousPlayers?: any[], scrubberAccessRequested?: boolean): AnimationPlayer;
    // (undocumented)
    computeStyle(element: any, prop: string, defaultValue?: string): string;
    // (undocumented)
    containsElement(elm1: any, elm2: any): boolean;
    // (undocumented)
    getParentElement(element: unknown): unknown;
    // (undocumented)
    query(element: any, selector: string, multi: boolean): any[];
    // (undocumented)
    validateStyleProperty(prop: string): boolean;
    // (undocumented)
    static ɵfac: i0.ɵɵFactoryDeclaration<NoopAnimationDriver, never>;
    // (undocumented)
    static ɵprov: i0.ɵɵInjectableDeclaration<NoopAnimationDriver>;
}

// (No @packageDocumentation comment for this package)