Answers for "angular tilt"

0

angular tilt

run 'npm install --save angular-tilt'

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Add 'AngularTiltModule' to your app.module.ts imports

@NgModule({
  imports: [..., AngularTiltModule],
  declarations: [...],
  bootstrap: [...]
})
export class AppModule {}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
And add the directive to you components

<div class="container" aTilt></div>
<div class="container" aTilt [tiltSettings]="tiltSettings"></div>
Posted by: Guest on December-31-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language