From f1dd74d50846f592feadcc2b4107ff6586f5c81b Mon Sep 17 00:00:00 2001 From: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com> Date: Thu, 11 Apr 2024 17:13:25 +0300 Subject: [PATCH] update readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c877bf..bc348f3 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ In this implementation, the animation is created by repeated calls of `window.re ### [transition.js](src/js/transition.js) -In this implementation, the animation is triggered using the `data-active-hold` class in CSS. The user needs to define only the function that will run when the hold phase is completed. +In this implementation, the animation is triggered using the `data-active-hold` class in CSS. The user needs to define only the function that will run when the hold phase is ends. It takes as a parameter a boolean that indicates whether the hold phase is completed. ## Dependencies @@ -28,8 +28,6 @@ None. The project uses only HTML, CSS, JavaScript. See [script.js](src/js/script.js), [style.css](src/style.css), [index.html](src/index.html) for a demo use of both implementations. -How to pick between - ## Run locally Download the 'src' folder and use a local web server to serve its contents.