src/sap.f/src/sap/f/cards/ActionEnablement.js
function _setActionEnabledState(oAction) {

			var oBindingInfo;
			if (typeof oAction.enabled === "string") {
				oBindingInfo = ManagedObject.bindingParser(oAction.enabled);
				oBindingInfo.formatter = function (vValue) {
					if (vValue && (typeof vValue === "string")) {
						return "Navigation";
					} else {
						return "Inactive";
					}
				};
			}
			if (oBindingInfo) {
				this._oItemTemplate.bindProperty("type", oBindingInfo);
			} else {
				var bEnabled = oAction.enabled !== false ? true : false;
				var sType = bEnabled ? "Navigation" : "Inactive";
				this._oItemTemplate.setProperty("type", sType);
			}
		}
function _setActionEnabledState(oAction) {

			var oBindingInfo;
			if (typeof oAction.enabled === "string") {
				oBindingInfo = ManagedObject.bindingParser(oAction.enabled);
				oBindingInfo.formatter = function (vValue) {
					if (vValue && (typeof vValue === "string")) {
						return "Navigation";
					} else {
						return "Inactive";
					}
				};
			}
			if (oBindingInfo) {
				this._oItemTemplate.bindProperty("type", oBindingInfo);
			} else {
				var bEnabled = oAction.enabled !== false ? true : false;
				var sType = bEnabled ? "Navigation" : "Inactive";
				this._oItemTemplate.setProperty("type", sType);
			}
		}
function _setActionEnabledState ( oAction ) { var oBindingInfo ; if ( typeof oAction . enabled === "string" ) { oBindingInfo = ManagedObject . bindingParser ( oAction . enabled ) ; oBindingInfo . formatter = function ( vValue ) { if ( vValue && ( typeof vValue === "string" ) ) { return "Navigation" ; } else { return "Inactive" ; } } ; } if ( oBindingInfo ) { this . _oItemTemplate . bindProperty ( "type" , oBindingInfo ) ; } else { var bEnabled = oAction . enabled !== false ? true : false ; var sType = bEnabled ? "Navigation" : "Inactive" ; this . _oItemTemplate . setProperty ( "type" , sType ) ; } }
List and Table card specific
List and Table card specific