@openui5/sap.m
Version:
OpenUI5 UI Library sap.m
32 lines (27 loc) • 761 B
JavaScript
/*!
* 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.P13nFilterPanelRenderer", {
renderer: {
apiVersion: 2,
render: function (oRm, oControl) {
oRm.openStart("section", oControl);
oRm.class("sapMFilterPanel");
oRm.openEnd();
oRm.openStart("div");
oRm.class("sapMFilterPanelContent");
oRm.class("sapMFilterPanelBG");
oRm.openEnd();
oControl.getAggregation("content").forEach(function (oChildren) {
oRm.renderControl(oChildren);
});
oRm.close("div");
oRm.close("section");
}
}
});
}, true);