@empathyco/x-components
Version:
Empathy X Components
59 lines (29 loc) • 860 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [useDisableAnimation](./x-components.usedisableanimation.md)
## useDisableAnimation() function
Composable to ease disabling animations.
**Signature:**
```typescript
export declare function useDisableAnimation(animationName: string): {
name: import("vue").ComputedRef<string>;
};
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
animationName
</td><td>
string
</td><td>
The name of the animation.
</td></tr>
</tbody></table>
**Returns:**
{ name: import("vue").ComputedRef<string>; }
Composable with the computed name of the animation.