<section class="overview">

## Overview

Notification Banners provides a way to convey certain messages to the user.

</section>

<section class="usage-guides">

<hr class="ta-shortDivider">

<section class="usage-guides">

<h4 class="-mt-2xl">Example Code</h4>

<section class="code-example">
    
  ![Notification Banner](./NotificationBanner.png "Banner")

</section>

```html
<app-notification-banner status='error' message='Error message goes here.' conditional='yes'></app-notification-banner>

<app-notification-banner status='success' message='Success message goes here.' conditional='yes'></app-notification-banner>

<app-notification-banner status='alert' message='Alert message goes here.' conditional='no'></app-notification-banner>
```

#### Parameters

<div class="table">
<table style="width: 100%;">
  <thead>
    <th>Input Name</td>
    <th>Type</td>
    <th>Options</td>
    <th>Default</th>
    <th>Required</th>
    <th>Description</td>
  </thead>
  <tbody>
    <tr>
      <td class="label -initialText">status</td>
      <td>string</td>
      <td class="-initialText">'success', 'error', 'alert'</td>
      <td class="-initialText">'alert'</td>
      <td>Yes</td>
      <td>Sets the stataus of the notification.</td>
    </tr>
    <tr>
      <td class="label -initialText">message</td>
      <td>string</td>
      <td class="-initialText">Any descriptive string</td>
      <td class="-initialText">'Message goes here!!'</td>
      <td>Yes</td>
      <td>Sets message that should be displayed on the notification banner.</td>
    </tr>
    <tr>
      <td class="label -initialText">conditional</td>
      <td>string</td>
      <td class="-initialText">'yes', 'no'</td>
      <td class="-initialText">'no'</td>
      <td>No</td>
      <td>To make use of the navigation router or not. If the conditional='no', then the notification banner is unchanged by the change in the router. If the conditional='yes', then the notification banner is shown based on the route.</td>
    </tr>
  <tbody>
</table>
</div>

<section class="usage-guides">

<h4 class="-mt-2xl section-h4">Reference Links</h4>

<a href="/color/developer-reference">Colors</a>
<br><a href="/iconography/developer-reference">Icons</a>
<br><a href="/buttons/developer-reference">Buttons</a>
<br><a href="https://angular.io/guide/animations">Angular Animations</a>

</section>

<section class="usage-guides">

<h4 class="-mt-2xl section-h4">TO DO</h4>

Keep the notification banner static on top of the webpage without overlapping the header.<br>
Notification Banner can be used as an angular component but it is not an angular element.<br>
Test will fail if a route has a banner set.<br>

</section>
