A 3D tilt implementation for Angular based on the vanilla-tilt.js and Tilt.js.
Just import the module in the module that you would like to include the directive in your components
@NgModule({
imports: [BrowserModule, BrowserAnimationsModule, AngularTiltModule],
declarations: [AppComponent, ProjectCardComponent],
bootstrap: [AppComponent]
})
export class AppModule {}
And add the directive to you components
<div class="container" aTilt></div>
<div class="container" aTilt [tiltSettings]="tiltSettings"></div>
yarn add angular-tilt
or
npm install --save angular-tilt
Original libraries__:
MIT License