Presents a message to the user, with an optional call to action. The message is typically an error, update, or alert.
This component has only the default state.
<head>
<link rel="stylesheet" href="fabric.min.css">
<link rel="stylesheet" href="fabric.components.min.css">
<script src="jquery-2.2.1.min.js"></script>
<script src="jquery.fabric.min.js"></script>
</head>
<script>
tag to your page, below the references to jQuery and Fabric's JS, to instantiate all Breadcrumbs on the page: <script>
$(document).ready(function() {
if (typeof fabric !== "undefined") {
if ('MessageBanner' in fabric) {
var elements = document.querySelectorAll('.ms-MessageBanner');
var i = elements.length;
var component;
while(i--) {
component = new fabric['MessageBanner'](elements[i]);
}
}
}
});
</script>
.ms-MessageBanner-action
) with your content.This component has a dependency on Button.