This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #4406
- Loading branch information
Showing
4 changed files
with
79 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
This directive can be used both to generate alerts from static and dynamic model data (using the `ng-repeat` directive). | ||
|
||
### Alert settings | ||
### uib-alert settings | ||
|
||
* `close` (Defaults: none): | ||
* `close` _(Default: `none`)_ - | ||
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` (Defaults: none)(Optional): | ||
* `dismiss-on-timeout` _(Default: `none`)(Optional)_ - | ||
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` (Defaults: `template/alert/alert.html`): | ||
* `template-url` _(Default: `template/alert/alert.html`)_ - | ||
Add the ability to override the template used in the component. | ||
* `type` (Defaults: `warning`): | ||
* `type` _(Default: `warning`)_ - | ||
Defines the type of the alert. Go to [bootstrap page](http://getbootstrap.com/components/#alerts) to see the type of alerts available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters