Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Regions

The Regions module provides a store for declaring geographical regions based on a center coordinate or coordinate bounds.

Index

Functions

Functions

Const asArray

  • asArray(keys: string[], format: {}): any
  • Parameters

    • keys: string[]
    • format: {}
      • [key: string]: string

    Returns any

Const get

  • Returns the region configuration associated with the specified key, if any.

    Parameters

    • key: string

    Returns RegionType

Const set

  • Sets the region configuration associated with the specified key.

    Parameters

    Returns void

Const slug

  • slug(key: string): string
  • Returns the region URL slug associated with the specified key, if any.

    Parameters

    • key: string

    Returns string

Generated using TypeDoc