AnimationMode
Since v0.2.7
Animation behavior mode.
trueor'on': Animations always enabledfalseor'off': Animations always disabled'reduced-motion': Respectsprefers-reduced-motionmedia query (default)
type AnimationMode = boolean | "on" | "off" | "reduced-motion"Example
Section titled “Example”// Force animations on (ignore system preference)grid.gridConfig = { animation: { mode: 'on' } };
// Disable all animationsgrid.gridConfig = { animation: { mode: false } };
// Respect user's accessibility settings (default)grid.gridConfig = { animation: { mode: 'reduced-motion' } };See Also
Section titled “See Also”AnimationConfigfor full animation configuration
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt