core/event

Global registry of core events that can be triggered/listened for.

Source:
Since:
  • 3.0
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Methods

(inner) getLegacyEvents() → {Promise}

Source:
Deprecated:
  • Yes

Load the legacy YUI module which defines events in M.core.event and return it.

Returns:
Type
Promise

(inner) getRenamedLegacyFunction(oldFunctionName, newModule, newFunctionName, newFunctionRef) → {function}

Source:

Get a curried function to warn that a function has been moved and renamed

Parameters:
Name Type Description
oldFunctionName String
newModule String
newFunctionName String
newFunctionRef function
Returns:
Type
function