mardi 5 décembre 2017

Access angular component meta-data

is it possible to get the value of e.g. changeDetection attribute defined as part of a given component's decoration?

i've tried:

Reflect.getMetadataKeys(BannerComponent) // []
Reflect.getOwnMetadataKeys(BannerComponent) // []
Reflect.getMetadata('annotations', BannerComponent) // undefined

http://ift.tt/2jQHR7X





Aucun commentaire:

Enregistrer un commentaire