UNPKG

@openui5/sap.m

Version:

OpenUI5 UI Library sap.m

29 lines (27 loc) 965 B
/*! * OpenUI5 * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['sap/ui/core/Renderer'], function (Renderer) { "use strict"; return Renderer.extend("sap.m.P13nConditionPanelRenderer", { renderer: { apiVersion: 2, render: function (oRm, oControl) { oRm.openStart("section", oControl); oRm.class("sapMConditionPanel"); oRm.openEnd(); oRm.openStart("div"); oRm.class("sapMConditionPanelContent"); oRm.class("sapMConditionPanelBG"); oRm.openEnd(); oControl.getAggregation("content").forEach(function (oChildren) { oRm.renderControl(oChildren); }); oRm.close("div"); oRm.close("section"); } } }); }, true);