Answers for "angular material chips"

1

angular material import chip

import {MatChipsModule} from '@angular/material/chips';
Posted by: Guest on October-08-2020
2

angular material chips

import { MatChipsModule } from '@angular/material/chips';

@NgModule({
    imports: [
      	...
      	MatChipsModule
      	...
    ]
})

...
<mat-chip-list aria-label="Fish selection">
  <mat-chip>One fish</mat-chip>
  <mat-chip>Two fish</mat-chip>
  <mat-chip color="primary" selected>Primary fish</mat-chip>
  <mat-chip color="accent" selected>Accent fish</mat-chip>
</mat-chip-list>
Posted by: Guest on October-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language