@openui5/sap.ui.core
Version:
OpenUI5 Core Library sap.ui.core
36 lines (33 loc) • 1.11 kB
JavaScript
/*
* OpenUI5
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define([], function() {
"use strict";
/**
* A registry of <code>sap.ui.core.Element</code> hooks that can be used to register, deregister callback functions.
*
* @alias module:sap/ui/core/ElementHooks
* @namespace
* @private
* @ui5-restricted sap.ui.core
* @deprecated As of version 1.147.0, the concept has been discarded.
*/
const ElementHooks = {
/**
* Intercepts an event. This method is meant for private usages. Apps are not supposed to used it.
* It is created for an experimental purpose.
* Implementation should be injected by outside.
*
* @param {string} sEventId the name of the event
* @param {sap.ui.core.Element} oElement the element itself
* @param {object} mParameters The parameters which complement the event. Hooks must not modify the parameters.
* @function
* @private
* @ui5-restricted sap.ui.core.support.usage.EventBroadcaster
*/
interceptEvent: null
};
return ElementHooks;
});