@openui5/sap.m
Version:
OpenUI5 UI Library sap.m
47 lines (43 loc) • 894 B
JavaScript
/*!
* OpenUI5
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides the Design Time Metadata for the sap.m.IconTabBar control
sap.ui.define([],
function () {
"use strict";
return {
palette: {
group: "CONTAINER",
icons: {
svg: "sap/m/designtime/IconTabFilter.icon.svg"
}
},
actions: {
rename: function () {
return {
changeType: "rename",
domRef: function (oControl) {
return oControl.$().find(".sapMITBText")[0];
}
};
}
},
aggregations: {
content: {
propagateMetadata: function (oControl) {
if (oControl.getParent()?.isA("sap.m.IconTabFilter")) {
return {
actions: {
remove: null,
reveal: null
}
};
}
return undefined;
}
}
}
};
});