UNPKG

angular-ui-bootstrap-2.0

Version:

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/bootstrap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://secure.travis-ci.org/angular-ui/bootstrap.svg)](http://travis-

16 lines (11 loc) 672 B
This directive can be used both to generate alerts from static and dynamic model data (using the `ng-repeat` directive). ### uib-alert settings * `close()` <small class="badge">$</small> - A callback function that gets fired when an `alert` is closed. If the attribute exists, a close button is displayed as well. * `dismiss-on-timeout` _(Default: `none`)_ - Takes the number of milliseconds that specify the timeout duration, after which the alert will be closed. This attribute requires the presence of the `close` attribute. * `template-url` _(Default: `uib/template/alert/alert.html`)_ - Add the ability to override the template used in the component.