I'm facing a minor issue in my Angular/Typescript project that I can't seem to resolve. I am still new to these technologies and struggling with removing certain DOM elements. The content is auto-generated with specific CSS classes, and unfortunately, I cannot modify them as they are generated elsewhere. This limits me from using ngIf or any other method to simplify the process. What I aim to accomplish is similar to the following (in jQuery):
$("#button").click(function() {
$('.fc-oss').toggle();
});
I have a toggle and want it to hide/show all elements with a specific type when activated. While attempting this in Angular without jQuery, I haven't had much luck. Any suggestions on how I could achieve this?