I am using Angular Strap for Bootstrap components and trying to show up the alerts
Here is the plunker - http://plunker.co/edit/DFBs3hTobHDs36QdqPte?p=preview
It does not shows up the alerts, what is that I am missing?
I am using Angular Strap for Bootstrap components and trying to show up the alerts
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
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
I have got the plunker working
http://plunker.co/edit/DFBs3hTobHDs36QdqPte?p=preview
The codebase says it can accept timeout
parameter, but I do not know yet how to use it
https://github.com/mgcrea/angular-strap/blob/master/src/directives/alert.js#L5
timeout
parameter, it is a dependency on $timeout
, which is provided by AngularJS. –
Gause A better way I found is using directives
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
© 2022 - 2024 — McMap. All rights reserved.