@blox/material
Version:
Material Components for Angular
26 lines (25 loc) • 886 B
TypeScript
import { ElementRef, Renderer2 } from '@angular/core';
/**
* Directive for elevating an element above its surface.
*/
export declare class MdcElevationDirective {
private rndr;
private _elm;
private _z;
private _transition;
constructor(rndr: Renderer2, _elm: ElementRef);
/**
* Input for setting the elevation (z-space). The value sould be in the range [0, 24].
* When set to 0, the element will not be elevated! The default value is 1.
*/
get mdcElevation(): number;
set mdcElevation(value: number);
static ngAcceptInputType_mdcElevation: string | number;
/**
* When this input is defined and does not have value false, changes of the elevation
* will be animated.
*/
get animateTransition(): boolean;
set animateTransition(value: boolean);
static ngAcceptInputType_animateTransition: boolean | '';
}