Created
June 20, 2018 06:29
-
-
Save JiaLiPassion/ab64ab8bd9d1185ffc8ff5212e68f72d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.componentFactory = injector.get(ComponentFactoryResolver).resolveComponentFactory(component); | |
this.observedAttributes = componentFactory.inputs.map(input => input.templateName); // we use templateName to handle this case @Input('aliasName'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment