From bd06f4d0feeba740e85eb12b4e70b0a5facde071 Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Wed, 26 May 2021 13:12:19 -0400 Subject: [PATCH] docs(@okikio/animate): :art: update small errors in documentation --- packages/animate/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/animate/README.md b/packages/animate/README.md index 5fdfe50..073dde2 100644 --- a/packages/animate/README.md +++ b/packages/animate/README.md @@ -126,7 +126,7 @@ I recommend using the Gitpod link at the top of the page to get started with dev The `Animate` class recieves a set of targets to animate, it then creates a list of Web Animation API `Animation` instances, along side a main animation, which is small `Animation` instance that is set to animate the opacity of a non visible element, the `Animate` class then plays each `Animation` instances keyframes including the main animation. -The main animation is there to ensure accuracy in different browser vendor implementation of the Web Animation API. The main animation is stored in `Animate.prototype.mainAnimation: Animation`, the other `Animation` instances are stored in a `Manager` (from [@okikio/manager](https://www.npmjs.com/package/@okikio/manager)) `Animate.prototype.animations: Manager`. +The main animation is there to ensure accuracy in different browser vendor implementation of the Web Animation API. The main animation is stored in `Animate.prototype.mainAnimation: Animation`, the other `Animation` instances are stored in a `WeakMap` `Animate.prototype.animations: WeakMap`. ```ts import animate from "@okikio/animate"; -- knotmirror 0.0.1