Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tasxatzial committed Apr 14, 2024
1 parent 3f181b6 commit f1dd74d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.

0 comments on commit f1dd74d

Please sign in to comment.