angular/goldens/public-api/animations/browser/testing/index.api.md
Kristiyan Kostadinov fb351300c3 build: update to latest dev infra code (#56128)
Updates the repo to the latest dev infra code which involves updating a patch and renaming all the golden files to end with `.api.md`.

PR Close #56128
2024-05-28 14:42:31 +02:00

2.1 KiB

API Report File for "@angular/animations_browser_testing"

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


import { AnimationDriver } from '@angular/animations/browser';
import { AnimationPlayer } from '@angular/animations';
import { NoopAnimationPlayer } from '@angular/animations';
import { ɵStyleDataMap } from '@angular/animations';

// @public (undocumented)
export class MockAnimationDriver implements AnimationDriver {
    // (undocumented)
    animate(element: any, keyframes: Array<ɵStyleDataMap>, duration: number, delay: number, easing: string, previousPlayers?: any[]): MockAnimationPlayer;
    // (undocumented)
    computeStyle(element: any, prop: string, defaultValue?: string): string;
    // (undocumented)
    containsElement(elm1: any, elm2: any): boolean;
    // (undocumented)
    getParentElement(element: unknown): unknown;
    // (undocumented)
    static log: AnimationPlayer[];
    // (undocumented)
    query(element: any, selector: string, multi: boolean): any[];
    // (undocumented)
    validateAnimatableStyleProperty(prop: string): boolean;
    // (undocumented)
    validateStyleProperty(prop: string): boolean;
}

// @public (undocumented)
export class MockAnimationPlayer extends NoopAnimationPlayer {
    constructor(element: any, keyframes: Array<ɵStyleDataMap>, duration: number, delay: number, easing: string, previousPlayers: any[]);
    // (undocumented)
    beforeDestroy(): void;
    // (undocumented)
    currentSnapshot: ɵStyleDataMap;
    // (undocumented)
    delay: number;
    // (undocumented)
    destroy(): void;
    // (undocumented)
    duration: number;
    // (undocumented)
    easing: string;
    // (undocumented)
    element: any;
    // (undocumented)
    finish(): void;
    // (undocumented)
    hasStarted(): boolean;
    // (undocumented)
    keyframes: Array<ɵStyleDataMap>;
    // (undocumented)
    play(): void;
    // (undocumented)
    previousPlayers: any[];
    // (undocumented)
    previousStyles: ɵStyleDataMap;
    // (undocumented)
    reset(): void;
}

// (No @packageDocumentation comment for this package)