src/sap.ui.ux3/src/sap/ui/ux3/NotificationBarRenderer.js
function(oRm, oNotifier, bMessageNotifier) {
			var sId = oNotifier.getId();

			oRm.write("<li");
			oRm.writeElementData(oNotifier);
			oRm.addClass("sapUiNotifier");
			oRm.writeClasses();

			// ItemNavigation can only handle focusable items
			oRm.writeAttribute("tabindex", "-1");
			oRm.writeAttribute("aria-describedby", sId + '-description>');
			oRm.write(">"); // li element

			fnWriteNotifierIcon(oRm, oNotifier.getIcon(), bMessageNotifier);

			// adding an element to enable a
			oRm.write('<div id="' + sId + '-description"');
			oRm.addStyle("display", "none");
			oRm.writeStyles();
			oRm.write(">");

			oRm.write("</div>");

			var iCount = oNotifier.getMessages().length;
			if (iCount > 0) {
				// opening the div with corresponding classes
				oRm.write('<div id="' + sId + '-counter" role="tooltip"');
				oRm.addClass("sapUiNotifierMessageCount");
				if (bMessageNotifier) {
					oRm.addClass("sapUiMessage");
				}
				oRm.writeClasses();
				oRm.write(">");

				// write the div's content
				if (iCount > 99) {
					iCount = ">99";
				}
				oRm.write(iCount);

				// closing the div
				oRm.write("</div>");
			}

			oRm.write("</li>"); // li element
		}
function(oRm, oNotifier, bMessageNotifier) {
			var sId = oNotifier.getId();

			oRm.write("<li");
			oRm.writeElementData(oNotifier);
			oRm.addClass("sapUiNotifier");
			oRm.writeClasses();

			// ItemNavigation can only handle focusable items
			oRm.writeAttribute("tabindex", "-1");
			oRm.writeAttribute("aria-describedby", sId + '-description>');
			oRm.write(">"); // li element

			fnWriteNotifierIcon(oRm, oNotifier.getIcon(), bMessageNotifier);

			// adding an element to enable a
			oRm.write('<div id="' + sId + '-description"');
			oRm.addStyle("display", "none");
			oRm.writeStyles();
			oRm.write(">");

			oRm.write("</div>");

			var iCount = oNotifier.getMessages().length;
			if (iCount > 0) {
				// opening the div with corresponding classes
				oRm.write('<div id="' + sId + '-counter" role="tooltip"');
				oRm.addClass("sapUiNotifierMessageCount");
				if (bMessageNotifier) {
					oRm.addClass("sapUiMessage");
				}
				oRm.writeClasses();
				oRm.write(">");

				// write the div's content
				if (iCount > 99) {
					iCount = ">99";
				}
				oRm.write(iCount);

				// closing the div
				oRm.write("</div>");
			}

			oRm.write("</li>"); // li element
		}
function ( oRm , oNotifier , bMessageNotifier ) { var sId = oNotifier . getId ( ) ; oRm . write ( "<li" ) ; oRm . writeElementData ( oNotifier ) ; oRm . addClass ( "sapUiNotifier" ) ; oRm . writeClasses ( ) ; // ItemNavigation can only handle focusable items oRm . writeAttribute ( "tabindex" , "-1" ) ; oRm . writeAttribute ( "aria-describedby" , sId + '-description>' ) ; oRm . write ( ">" ) ; // li element fnWriteNotifierIcon ( oRm , oNotifier . getIcon ( ) , bMessageNotifier ) ; // adding an element to enable a oRm . write ( '<div id="' + sId + '-description"' ) ; oRm . addStyle ( "display" , "none" ) ; oRm . writeStyles ( ) ; oRm . write ( ">" ) ; oRm . write ( "</div>" ) ; var iCount = oNotifier . getMessages ( ) . length ; if ( iCount > 0 ) { // opening the div with corresponding classes oRm . write ( '<div id="' + sId + '-counter" role="tooltip"' ) ; oRm . addClass ( "sapUiNotifierMessageCount" ) ; if ( bMessageNotifier ) { oRm . addClass ( "sapUiMessage" ) ; } oRm . writeClasses ( ) ; oRm . write ( ">" ) ; // write the div's content if ( iCount > 99 ) { iCount = ">99" ; } oRm . write ( iCount ) ; // closing the div oRm . write ( "</div>" ) ; } oRm . write ( "</li>" ) ; // li element }
Renders a single notifier
Renders a single notifier