/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['jquery.sap.global', './TileRenderer'], function(jQuery, TileRenderer) { "use strict"; /** * CustomTile renderer. * @namespace */ var CustomTileRenderer = sap.ui.core.Renderer.extend(TileRenderer); /** * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}. * * @param {sap.ui.core.RenderManager} * oRm the RenderManager that can be used for writing to the render output buffer * @param {sap.ui.core.Control} * oControl an object representation of the control that should be rendered */ CustomTileRenderer.render = function(rm, oControl) { rm.write("
"); rm.write("
"); rm.write("
"); this._renderContent(rm,oControl); rm.write("
"); }; CustomTileRenderer._renderContent = function (rm, oTile) { rm.renderControl(oTile.getContent()); }; return CustomTileRenderer; }, /* bExport= */ true);