angular-tilt
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

AngularTilt

npm version

A 3D tilt implementation for Angular based on the vanilla-tilt.js and Tilt.js.

Usage

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>

Install

yarn add angular-tilt

or

npm install --save angular-tilt

Credits

Original libraries:

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i angular-tilt

Weekly Downloads

20

Version

1.2.0

License

MIT

Unpacked Size

280 kB

Total Files

29

Last publish

Collaborators

  • viniro