AngularJS:警报显示不出来 [英] AngularJS: Alerts not showing up
本文介绍了AngularJS:警报显示不出来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的引导组件角带并试图现身提示
I am using Angular Strap for Bootstrap components and trying to show up the alerts
下面是plunker - http://plunker.co/edit/DFBs3hTobHDs36QdqPte? p = preVIEW
Here is the plunker - http://plunker.co/edit/DFBs3hTobHDs36QdqPte?p=preview
它不显示了警报,那是什么我失踪?
It does not shows up the alerts, what is that I am missing?
推荐答案
一个更好的办法,我发现是使用指令
A better way I found is using directives
该plunker可以在这里找到 - http://plnkr.co/edit/ uqSB1gIz6XEmJfC8zHNb?p = preVIEW
The plunker can be found here - http://plnkr.co/edit/uqSB1gIz6XEmJfC8zHNb?p=preview
我仍然试图找出如何添加超时和隐藏信息
I am still trying to figure out how to add timeout and hide the message
这篇关于AngularJS:警报显示不出来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文