New: Headless Commerce with Remix! read more

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

Members

constructor

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

transform

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