Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
224 views

I have this input: customHTMLContent = input<string>() In my HTML template calling this works: <p>{{ customHTMLContent }}</p> And this doesn't: <p>{{ customHTMLContent() }}&...
AirKlisa's user avatar
  • 143
2 votes
2 answers
691 views

I have an Angular dropdown component (CustomDropdownComponent) that receives a list of options and a selected value from its parent component via @Input(). The parent also listens for selection ...
David Küng's user avatar
0 votes
1 answer
93 views

<nav class="navbar navbar-expand-lg fixed-top" [ngStyle]="navBg"> Html In the project I developed with Angular, the [ngStyle]="navBg" field in this tag in the HTML ...
Yusuf Güner's user avatar
1 vote
1 answer
137 views

I'm trying to dynamically bind the src attribute of an embed tag in Angular using property binding, but it's not working as expected. Here's what I've tried: In my TypeScript file, I have declared a ...
Jagz S's user avatar
  • 907
0 votes
0 answers
269 views

I start working in a new angular project, I find such a weird behavior that we can see throw the following example ngOnInit() { setTimeout(() => { this.test = 100 console.log('...
Smaillns's user avatar
  • 3,295
1 vote
1 answer
134 views

I created a generic table component using angular material. I have metadata for column representation as below. `tableColumnBinding: TableColumnMetadata[] = [ { title: 'product.id', name: 'id', ...
Saddamhussain's user avatar
2 votes
1 answer
165 views

I have a very simple Angular Component as follow: import { Component } from '@angular/core'; @Component({ selector: 'test-view', template: ` <div [ngStyle]="{ 'background-color': m....
Ciaccia's user avatar
  • 402
1 vote
1 answer
69 views

I have below template, how to bind the defaultRelatedGuideUrl from the controller to the template? [routerLink]="(editMode || readOnly) ? [] : ['/defaultRelatedGuideUrl/', link.slug]"> ...
Rijo's user avatar
  • 3,043