Sha256: ff8b537e70a03572a20fe5a4a078a9e04dbb3afcad2a91b36634f4722500cc26
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 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([ './TreeItemBaseRenderer', 'sap/ui/core/Renderer' ], function(TreeItemBaseRenderer, Renderer) { "use strict"; /** * @namespace */ var CustomTreeItemRenderer = Renderer.extend(TreeItemBaseRenderer); /** * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}. * * @param {sap.ui.core.RenderManager} oRenderManager RenderManager object * @param {sap.ui.core.Control} oControl An object representation of the control that will be rendered */ CustomTreeItemRenderer.renderLIAttributes = function(rm, oLI) { rm.addClass("sapMCTI"); TreeItemBaseRenderer.renderLIAttributes.apply(this, arguments); }; CustomTreeItemRenderer.renderLIContent = function(rm, oLI) { oLI.getContent().forEach(function(oContent) { rm.renderControl(oContent); }); }; return CustomTreeItemRenderer; }, /* bExport= */true);
Version data entries
4 entries across 4 versions & 2 rubygems