Sha256: 84b2cdad5b76230f1eb35fe73bd5dcdfac8885293ac5de96e44341886ab00f6d
Contents?: true
Size: 1.04 KB
Versions: 3
Compression:
Stored size: 1.04 KB
Contents
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([],function(){"use strict";var B={};B.render=function(r,b){this.startBusyIndicator(r,b);this.renderBusyIndication(r,b);this.renderLabel(r,b);this.endBusyIndicator(r);};B.startBusyIndicator=function(r,b){r.write("<div ");r.writeControlData(b);r.addClass("sapMBusyIndicator");r.writeClasses();r.addStyle("font-size",b.getSize());r.writeStyles();r.writeAccessibilityState(b);this.renderTooltip(r,b.getTooltip_AsString());r.write(">");};B.renderTooltip=function(r,t){if(t){r.writeAttributeEscaped("title",t);}};B.renderBusyIndication=function(r,b){if(b.getCustomIcon()){r.renderControl(b._iconImage);}else{r.write("<div class='sapMBusyIndicatorBusyArea'");r.writeAttribute("id",b.getId()+"-busy-area");r.write("></div>");}};B.renderLabel=function(r,b){if(b.getText()){r.renderControl(b._busyLabel);}};B.endBusyIndicator=function(r){r.write("</div>");};return B;},true);
Version data entries
3 entries across 3 versions & 1 rubygems