@gidado662003Submitted about 2 years ago
Is there any way to toggle between a read message and an unread message without storing it in individual variables
Is there any way to toggle between a read message and an unread message without storing it in individual variables
Hi gidado662003, you can do it if you generalize the data into a JSON format. So that you can add a property like read:true
can easily toggle between all items.
If you want reference you can look into my code. I've put data into another file and used it.
https://github.com/DOCSPLOIT/notificatate