Created
February 9, 2022 21:41
-
-
Save alxhub/716f5fd50af663922b3834dfd51c229d to your computer and use it in GitHub Desktop.
How the Angular Compiler Works - Component With Selector Constant
This file contains hidden or 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
const MY_SELECTOR = 'my-cmp'; | |
@Component({ | |
selector: MY_SELECTOR, | |
template: '...', | |
}) | |
export class MyCmp {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment