/*! * 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"; /** * OnePersonCalendar renderer. * @namespace */ var OnePersonCalendarRenderer = {}; /** * 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.m.OnePersonCalendar} oCalendar An object representation of the OnePersonCalendarRenderer control that should be rendered. */ OnePersonCalendarRenderer.render = function(oRm, oCalendar){ oRm.write(""); var oHeader = oCalendar._getHeader(); if (oHeader) { oRm.renderControl(oHeader); } var oGrid = oCalendar._getGrid(); if (oGrid) { oRm.renderControl(oGrid); } oRm.write(""); }; return OnePersonCalendarRenderer; }, /* bExport= */ true);