Sha256: 48659f6934282a430fd907e43d6005886e8c927f0b8f11bc1ca91df93ba85a6c

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 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(['sap/ui/Device',"sap/ui/dom/getScrollbarSize"],function(D,g){"use strict";var S={};S.render=function(r,c){var R=sap.ui.getCore().getConfiguration().getRTL(),s="sapMScrollBarTouch",C=c.getContentSize(),a=c.getId(),d=D.support.touch,b=g(d?s:undefined),w=(D.browser.edge&&!b.width)?15:b.width;r.write("<div");r.writeControlData(c);r.addClass("sapMScrollBarOuterDiv");if(d){r.addClass(s);}r.addStyle("width",w+"px");r.writeClasses();r.writeStyles();r.write(">");r.write("<div");r.writeAttribute("id",a+"-sb");r.addClass("sapMScrollBarInnerDiv");r.addStyle("width",(w*2)+"px");r.addStyle((R?"margin-right":"margin-left"),-Math.abs(w)+"px");r.writeClasses();r.writeStyles();r.write(">");r.write("<div");r.writeAttribute("id",a+"-sbcnt");r.addStyle("width",w+"px");if(C){r.addStyle("height",C);}r.writeStyles();r.write(">");r.write("</div>");r.write("</div>");r.write("<div>");r.write("<span");r.writeAttribute("id",a+"-ffsize");r.addClass("sapMScrollBarDistantSpan");r.writeClasses();r.write(">");r.write("</span>");r.write("</div>");r.write("</div>");};return S;},true);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fiveapples-0.0.7 lib/openui5-runtime-1.60.23/resources/sap/m/ScrollBarRenderer.js
fiveapples-0.0.6 lib/openui5-runtime-1.60.23/resources/sap/m/ScrollBarRenderer.js
fiveapples-0.0.5 lib/openui5-runtime-1.60.23/resources/sap/m/ScrollBarRenderer.js