Ngx meta.metadataresolveroptions.global
Home > @davidlj95/ngx-meta > MetadataResolverOptions > global
MetadataResolverOptions.global property
Global key in a metadata values object to use when resolving a metadata value.
Signature:
readonly global?: string;
Example
The following global
const global = 'foo'
const metadataValues = {
foo: 'bar'
}
foo
global key and resolve bar
as metadata value
Defaults to undefined
(no global to be used for the metadata manager)