Created
December 20, 2020 03:28
-
-
Save meramos/abec2816e77202a22c764b03774db885 to your computer and use it in GitHub Desktop.
Update divs which were added earlier so that their class values are defined based on the current image per item.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="container"> | |
| <div id="background"> | |
| <div id="body"></div> | |
| <div id="eyes" className={"eyes"+(dressupState["eyes"].current+1)} ></div> | |
| <div id="ears" className={"ears"+(dressupState["ears"].current+1)}></div> | |
| <div id="nose" className={"nose"+(dressupState["nose"].current+1)}></div> | |
| <div id="mouth" className={"mouth"+(dressupState["mouth"].current+1)}></div> | |
| <div id="clothes" className={"clothes"+(dressupState["clothes"].current+1)}></div> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment