Sha256: 867113b4d4298e781d52f470cf3e168a1f78fe130e0782508336d23019c1bf3f
Contents?: true
Size: 1.45 KB
Versions: 3
Compression:
Stored size: 1.45 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 C={};C.render=function(r,c){var s=c.getId();var i=c._isInteractive();r.write("<div");r.writeControlData(c);if(i){r.writeAttribute("tabindex",0);r.writeAttribute("role","button");r.writeAttribute("aria-labelledby",s+"-info");r.addClass("sapMColumnHeaderActive");}r.addClass("sapMColumnHeader");r.writeClasses();r.write(">");this.renderText(r,c);this.renderIcons(r,c);if(i&&sap.ui.getCore().getConfiguration().getAccessibility()){r.write("<span");r.writeAttributeEscaped("id",s+"-info");r.addClass("sapUiInvisibleText");r.writeClasses();r.writeAttributeEscaped("aria-hidden","true");r.write(">");r.writeEscaped(c.getAccessibilityInfo().description);r.write("</span>");}r.write("</div>");};C.renderText=function(r,c){r.write("<div");r.addClass("sapMColumnHeaderText");r.writeClasses();r.write(">");r.writeEscaped(c.getText());r.write("</div>");};C.renderIcons=function(r,c){r.write("<div");r.addClass("sapMColumnHeaderIcons");r.writeClasses();r.write(">");this.renderSortIcon(r,c);this.renderFilterIcon(r,c);r.write("</div>");};C.renderSortIcon=function(r,c){var s=c.getAggregation("_sortIcon");if(!s){return;}r.renderControl(s);};C.renderFilterIcon=function(r,c){var f=c.getAggregation("_filterIcon");if(!f){return;}r.renderControl(f);};return C;},true);
Version data entries
3 entries across 3 versions & 1 rubygems