]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Allow animations to be set to false for the tooltip (#10582)
authorJacco van den Berg <jaccoberg2281@gmail.com>
Thu, 18 Aug 2022 11:33:42 +0000 (13:33 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Aug 2022 11:33:42 +0000 (07:33 -0400)
types/index.d.ts

index 6f3eb79b375039339bf6de22622318c843d3c1b8..566b12790dbd4d8d42a33e082f3ae03e33a3dfd7 100644 (file)
@@ -2755,8 +2755,8 @@ export interface TooltipOptions<TType extends ChartType = ChartType> extends Cor
    */
   textDirection: Scriptable<string, ScriptableTooltipContext<TType>>;
 
-  animation: AnimationSpec<TType>;
-  animations: AnimationsSpec<TType>;
+  animation: AnimationSpec<TType> | false;
+  animations: AnimationsSpec<TType> | false;
   callbacks: TooltipCallbacks<TType>;
 }