How can I apply -> text-decoration: line-through on a text when the toggle is selected?

0
Hello! I want that every time the user clicks on the toggle, the text gets a line-through, but I didn't find a way to do so... Could someone help me, please?
asked
1 answers
0

Try to use the properties->dynamic class option.

 

When the user switches apply the styling based on the switch status.

 

You might need to add custom classes to make it work. 

answered