Create Reusable Components in Angular | Dialog Box

Pubblicato il: 23 aprile 2020
sul canale di: Grepsoft
5,873
57

Create a dialog service that you can then inject into any component to generate your dialog. That way the business logic has no idea about how a dialog works but is only interested in getting user input.

The code becomes clean and maintainable. If in future you want to replace the dialog with something else then you only have one place to make changes into.

code:
https://github.com/grepsoft/angular-g...


In questa pagina del sito puoi guardare il video online Create Reusable Components in Angular | Dialog Box della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Grepsoft 23 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,873 volte e gli è piaciuto 57 spettatori. Buona visione!