Show pop-ups the most elegant way

后端 未结 5 1352
我在风中等你
我在风中等你 2020-12-02 03:58

I have this AngularJS app. Everything works just fine.

Now I need to show different pop-ups when specific conditions become true, and I was wondering what would be t

5条回答
  •  广开言路
    2020-12-02 04:11

    See http://adamalbrecht.com/2013/12/12/creating-a-simple-modal-dialog-directive-in-angular-js/ for a simple way of doing modal dialog with Angular and without needing bootstrap

    Edit: I've since been using ng-dialog from http://likeastore.github.io/ngDialog which is flexible and doesn't have any dependencies.

提交回复
热议问题