UNPKG

@empathyco/x-components

Version:
59 lines (29 loc) 860 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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&lt;string&gt;; } Composable with the computed name of the animation.