About 24,300,000 results
Open links in new tab
  1. angular - Reactive forms - disabled attribute - Stack Overflow

    Explains how to use the disabled attribute in Angular reactive forms with examples and solutions for common issues.

  2. Angular: conditional class with *ngClass - Stack Overflow

    Feb 8, 2016 · From the angular documentation: "The asterisk is "syntactic sugar" for something a bit more complicated. Internally, Angular translates the *ngIf attribute into a <ng-template> …

  3. Angular - How to apply [ngStyle] conditions - Stack Overflow

    Mar 14, 2018 · Angular - How to apply [ngStyle] conditions Asked 7 years, 8 months ago Modified 1 year, 5 months ago Viewed 537k times

  4. angular - How can I use "*ngIf else"? - Stack Overflow

    16 Since Angular 17, you can use built-in control flow, an alternative template syntax for conditionally showing, hiding or repeating elements. It allows you to do if else like the following:

  5. How to use index in @for in html angular 18 - Stack Overflow

    Feb 16, 2024 · Learn how to use index in Angular 18's @for loop for HTML templates, with examples and best practices discussed on Stack Overflow.

  6. How to get the Angular version? - Stack Overflow

    I installed the @angular/cli package via npm using: npm install -g @angular/cli The version 1.4.2 of @angular/cli has been successfully installed. That is not the Angular version, but the CLI …

  7. Angular + Material - How to refresh a data source (mat-table)

    Oct 14, 2017 · There are two ways to do it, because Angular Material is inconsistent, and this is very poorly documented. Angular material table won't update when a new row will arrive.

  8. Angular V17 / V18: Prospects of @if vs. *ngIf – Will *ngIf be ...

    Nov 23, 2023 · Explore the future of Angular's @if and *ngIf directives in upcoming versions, discussing potential deprecation and implications for developers.

  9. What is the equivalent of ngShow and ngHide in Angular 2+?

    11 According to Angular 1 documentation of ngShow and ngHide, both of these directive adds the css style display: none !important;, to the element according to the condition of that directive …

  10. javascript - Angular window resize event - Stack Overflow

    In spite of using debounceTime and running your subscribe callback less, Angular will run change detection on every event, as it's triggered inside the zone. You should check my answer that …