UNPKG

@angular/material

Version:
28 lines (27 loc) 995 B
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { AnimationTriggerMetadata } from '@angular/animations'; /** * Below are all the animations for the mat-menu component. * Animation duration and timing values are based on: * https://material.io/guidelines/components/menus.html#menus-usage */ /** * This animation controls the menu panel's entry and exit from the page. * * When the menu panel is added to the DOM, it scales in and fades in its border. * * When the menu panel is removed from the DOM, it simply fades out after a brief * delay to display the ripple. */ export declare const transformMenu: AnimationTriggerMetadata; /** * This animation fades in the background color and content of the menu panel * after its containing element is scaled in. */ export declare const fadeInItems: AnimationTriggerMetadata;