UNPKG

ngx-flip-card

Version:

Angular component to animate a double-sided card.

18 lines (17 loc) 733 B
import { ElementRef, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; export declare class NgxTiltCardComponent implements OnInit { onMouseOut(): void; onMouseMove(event: MouseEvent): void; tiltContentRef: ElementRef; xRot: number; yRot: number; rotationDegreesX: number; rotationDegreesY: number; private xRotationMatrix; private yRotationMatrix; constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxTiltCardComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxTiltCardComponent, "ngx-tilt-card", never, { "rotationDegreesX": "rotationDegreesX"; "rotationDegreesY": "rotationDegreesY"; }, {}, never, ["*"]>; }