Registry#expandLocalLookup()

expandLocalLookup (fullName, options) Stringprivate

Defined in packages/container/lib/registry.js:778

Given a fullName and a source fullName returns the fully resolved fullName. Used to allow for local lookup.

let registry = new Registry();

// the twitter factory is added to the module system
registry.expandLocalLookup('component:post-title', { source: 'template:post' }) // => component:post/post-title

Parameters:

fullName String
options [Object]
source [String]
the fullname of the request source (used for local lookups)

Returns:

String
fullName
doc_EmberJs
2016-11-30 16:52:54
Comments
Leave a Comment

Please login to continue.