1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

checking if app-custom exits in Angular html template

Discussão em 'Angular' iniciado por pepenipf, Julho 9, 2025.

  1. pepenipf

    pepenipf Guest

    I think I have a knot in my brain, it can't be that difficult.

    I have an Angular component and it is called in my app.html <app-custom></app-custom> and if app-custom does not exist, a default component should be called instead <app-default></app-default>

    I don't know how to check if app-custom exits or not

    Continue reading...

Compartilhe esta Página