1.0.10 • Published 8 years ago

tilted.js v1.0.10

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

tilted.js

Installation

NPM

npm install tilted.js

CDN

<script src="https://cdn.jsdelivr.net/npm/tilted.js/dist/tilted.js"></script>

Instructions

Run the function tilted() with the parameters of (id of element, properties)

tilted('thisIsaID', {
      intensity: 15,
      onHover: true,
      disableX: false,
      disableY: false,
      invert: false
    });

Properties

Property NameDescriptionDefaut ValueValue Type
intensitycontrols the intensity12int
onHovercontrols if tilt happens only on hoverfalseboolean
disableXenables/disables tilt on the X axisfalseboolean
disableYenables/disables tilt on the Y axisfalseboolean
inverttilt will be invertedfalseboolean
1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago