Closed IonicaBizau closed 5 years ago
if true <h1>Fooo</h1> <p>Some content here</p> else <h1>Bar</h1> <p>Some different content here</p>
From the quick view, I guess that's not possible, but which is the right way to do this?
this works:
${ (true) ? ` <h1>Fooo</h1> <p>Some content here</p> ` : ` <h1>Bar</h1> <p>Some different content here</p> ` }
Thanks!
From the quick view, I guess that's not possible, but which is the right way to do this?