Ember.createInjectionHelper()

createInjectionHelper (type, validator) private

Defined in packages/ember-runtime/lib/inject.js:19
Available since 1.10.0

This method allows other Ember modules to register injection helpers for a given container type. Helpers are exported to the inject namespace as the container type itself.

Parameters:

type String
The container type the helper will inject
validator Function
A validation callback that is executed at mixin-time
doc_EmberJs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.