How to use providedIn 'root' in angular service?
Asked
Active
Viewed 94 times
0
-
It is not possible. You will have to write some custom modal for that to work. – MrVanilla Mar 21 '18 at 12:14
-
You can't. It's part of the browser's default UI. There are a plethora of plugins to accomplish this. Just do a search for "lightbox" or "modal" – evolutionxbox Mar 21 '18 at 12:14
1 Answers
2
Style of alert()
JS function is defined by the browser you are using. You can't change that.
But you can implement custom alert boxes using, for example, jQuery UI or other libraries.

Mario Cianciolo
- 1,223
- 10
- 17