From c670fc69605591e0f735026f8171445071f31cea Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Sat, 15 Oct 2022 22:11:26 +0100 Subject: [PATCH] Add `as` --- docs/guide/animation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/animation.md b/docs/guide/animation.md index 2a01d2632..500d5e475 100644 --- a/docs/guide/animation.md +++ b/docs/guide/animation.md @@ -5,7 +5,7 @@ Ths chapter discusses how to use Textual's animation system to create visual eff ## Animating styles -Textual's animator can change an attribute from one value to another in fixed increments over a period of time. You can apply animations to [styles](styles.md) such `offset` to move widgets around the screen, and `opacity` to create fading effects. +Textual's animator can change an attribute from one value to another in fixed increments over a period of time. You can apply animations to [styles](styles.md) such as `offset` to move widgets around the screen, and `opacity` to create fading effects. Apps and widgets both have an [animate][textual.app.App.animate] method which will animate properties on those objects. Additionally, `styles` objects have an identical `animate` method which will animate styles.