Sha256: 4b111f77870a75417e757a664cbe5c880d528a01116ca6527ad2c1c29731787d

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

/*!
 * 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.
 */

// 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 (oPage) {
					return {
						changeType: "rename",
						domRef: function (oControl) {
							return oControl.$().find(".sapMITBText")[0];
						}
					};
				}
			},
			aggregations: {
				content: {
					domRef: function(oControl) {
						var oIconTabHeader = oControl.getParent(),
							oIconTabBar = oIconTabHeader && oIconTabHeader.getParent(),
							aContent = oControl.getContent() || [];

						if (oIconTabHeader.oSelectedItem === oControl && aContent.length > 0 && oIconTabBar) {
							return oIconTabBar.getDomRef("content");
						}
					},
					actions: {
						move: "moveControls"
					}
				}
			}
		};

	}, /* bExport= */ false);

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fiveapples-0.0.7 lib/openui5-runtime-1.60.23/resources/sap/m/designtime/IconTabFilter.designtime-dbg.js
fiveapples-0.0.6 lib/openui5-runtime-1.60.23/resources/sap/m/designtime/IconTabFilter.designtime-dbg.js
fiveapples-0.0.5 lib/openui5-runtime-1.60.23/resources/sap/m/designtime/IconTabFilter.designtime-dbg.js
jekyll-openui5-0.1.0 assets/sap/m/designtime/IconTabFilter.designtime-dbg.js