Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CityGetter

Hierarchy

Index

Properties

Methods

Properties

Protected fetchState

fetchState: number = 0

Static Private Readonly GET_CITIES_KEY

GET_CITIES_KEY: "FORECAST_LIST_CITIES" = "FORECAST_LIST_CITIES"

Methods

getCities

  • getCities(province: Province, callback?: (forecast: string[]) => any, error?: (message: any) => any): void
  • Parameters

    • province: Province
    • Optional callback: (forecast: string[]) => any
        • (forecast: string[]): any
        • Parameters

          • forecast: string[]

          Returns any

    • Optional error: (message: any) => any
        • (message: any): any
        • Parameters

          • message: any

          Returns any

    Returns void