Show and Hide div - Ionic 4

Hi, anyone can help me with that? I need to hide and show one div with the click of the button, I tried some things, but didn’t work.

use hideen bind to a variable like in ts and change it as you want

let ishidden = false;

in html

<div [hidden]=ishidden>

Best regards, anna-liebt

1 Like

Thank you, anna-liebt