1. IntroductionSweetAlert2is a beautiful, responsive, customizable, accessible replacement for javascript’s popup boxes, and there is also a version for Angular, you can find the detail usage inofficial website. But, the use cases in the official doc are just for use on one page, which means you need to add the same HTML codes on every page you want to use, what if you are using the common layout? The common layout means there is a main layout includingHeader,Center Body, andFooter, just like this article which I introduced.In the common layout structure, you don’t need to add the
...
继续阅读
(86)