Ember.wrap()

wrap (func, superFunc) Functionprivate

Defined in packages/ember-metal/lib/utils.js:276

Wraps the passed function so that this._super will point to the superFunc when the function is invoked. This is the primitive we use to implement calls to super.

Parameters:

func Function
The function to call
superFunc Function
The super function.

Returns:

Function
wrapped function.
doc_EmberJs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.