API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceViewShakeOptions
@codexo/exojs / rendering / stable
Options for View.shake.
2
props
0
methods
0
events
Import
import { ViewShakeOptions } from '@codexo/exojs'Options for View.shake.
Properties2
decay?: booleanWhen true the amplitude decays linearly to zero over the shake duration. Defaults to true.
frequency?: numberOscillation frequency in Hz. Higher values produce more rapid shaking. Defaults to 16.
Source