When I give camel cased attributes to my element, they dont work. No error or warning. But when I pass all lowercased attribute, they work well. Can someone explain this behaviour?
My index.html:
<body>
<app-root></app-root>
<user-poll age="25" personName="John doe"></user-poll>//an angular element
</body>
user-poll.component.ts
@Input() a: number;//=25, works well
@Input() personName: string;//always undefined