API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

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?: boolean
When true the amplitude decays linearly to zero over the shake duration. Defaults to true.
frequency?: number
Oscillation frequency in Hz. Higher values produce more rapid shaking. Defaults to 16.
Source