I have an input signal which I take and set as attribute but in browser I see an error this.width is not a function export class SkeletonComponent implements OnInit { readonly width = input<string>(''); ngOnInit(): void { if (isPlatformServer(this.platformId)) { return; } const host = this.host.nativeElement; host.style.setProperty('--app-skeleton-width', this.width() || '100%'); Continue reading...