justinmind-logo
 
Upvote 1

Click to hide an element, click to unhide an element

Need Answer Steve_linn 20 months ago

I am working on creating a hide/unhide list of tasks. When I click "Today" element, I want to hide the list of tasks under it. When I click "today" the second time, I want it to unhide the list of tasks under it.


Here is a simple example:

https://coderthemes.com/hyper/saas/apps-tasks.html


I cannot determine how to add a second click action, or reset the first click action. I am using hide/unhide an element with push up, push down.

Replies (1)
photo
1

Hello, one way to make the event revert on a second click is to use "on Toggle" as a trigger instead of "on Click".

let me know if this works for you.

Greetings.

Leave a Comment
 
Attach a file