# Interface: InertiaOptions
# Hierarchy
-
↳ InertiaOptions
# Table of contents
# Properties
- bounceDamping
- bounceStiffness
- driver
- from
- max
- min
- modifyTarget
- onComplete
- onStop
- onUpdate
- power
- restDelta
- restSpeed
- timeConstant
- to
- velocity
# Properties
# bounceDamping
• Optional
bounceDamping: number
# bounceStiffness
• Optional
bounceStiffness: number
# driver
• Optional
driver: Driver
# from
• Optional
from: number
Inherited from: DecayOptions.from
# max
• Optional
max: number
# min
• Optional
min: number
# modifyTarget
• Optional
modifyTarget: (target
: number) => number
# Type declaration
▸ (target
: number): number
# Parameters
Name | Type |
---|---|
target | number |
Returns: number
Inherited from: DecayOptions.modifyTarget
# onComplete
• Optional
onComplete: () => void
# Type declaration
▸ (): void
Returns: void
# onStop
• Optional
onStop: () => void
# Type declaration
▸ (): void
Returns: void
# onUpdate
• Optional
onUpdate: (v
: number) => void
# Type declaration
▸ (v
: number): void
# Parameters
Name | Type |
---|---|
v | number |
Returns: void
# power
• Optional
power: number
Inherited from: DecayOptions.power
# restDelta
• Optional
restDelta: number
Overrides: DecayOptions.restDelta
# restSpeed
• Optional
restSpeed: number
# timeConstant
• Optional
timeConstant: number
Inherited from: DecayOptions.timeConstant
# to
• Optional
to: number
Inherited from: DecayOptions.to
# velocity
• Optional
velocity: number
Inherited from: DecayOptions.velocity