Page-Alert Component

Description

Page-Alert Component provides an alert box that will always be added as the first child in the body so that it appears above all other content. Alerts can stack as shown above.

Demo

See Above.

Available attributes:

Excluded attributes will default to the following:

HTML

<page-alert
    data-alertSeverity="info"
    data-alertHeading='This is an Information alert'
    data-alertInfo ="This alert has an associated link button"
    data-alertLink="https://www.google.com">
</page-alert>

<script src="pageAlert.min.js"></script>

Javascript