Open source @drobinetm/countries-flags

Angular demo

Angular demo

Demo page for the Angular component.

Live demo

Interactive preview

Local run

Run the workspace demo

Run the Angular demo locally from the workspace.

pnpm install
pnpm dev:angular
Copied

Reference snippet

Example snippet

This is the example used on the demo page.

<drm-countries-flags
  [(ngModel)]="selectedCode"
  [filter]="['es', 'br', 'ar', 'uy', 'us', 'gb']"
  [max]="4"
  (valueChange)="onCountryChange($event)"
></drm-countries-flags>
Copied