Skip to main content

LocaleRegionNamePipe

LocaleRegionNamePipe

Displays a human-readable name for a given region.

Example

{{ 'GB' | localeRegionName }}
Signature
class LocaleRegionNamePipe extends LocaleBasePipe implements PipeTransform {
constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
transform(value: any, locale?: unknown) => string;
}
  • Extends: LocaleBasePipe

  • Implements: PipeTransform

constructor

method
(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef) => LocaleRegionNamePipe

transform

method
(value: any, locale?: unknown) => string