What is the equivalent of ngShow and ngHide in Angular 2+?

The hidden property can be used for that See also https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden issues hidden has some issues though because it can conflict with CSS for the display property. See how some in Plunker example doesn’t get hidden because it has a style set. (This might behave differently in other browsers – I tested with Chrome 50) workaround You can fix it by adding To a … Read more