Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WeatherWebPartConfig

Hierarchy

  • WeatherWebPartConfig

Implements

Properties

Optional api

The API you want to get the Weatherdata from. Defaults to WeatherAPI.OpenWeatherMap

Optional apiKey

apiKey: string

Your Weather API key

Optional backgroundColor

backgroundColor: string

defaults to background color defined in global styles settings

Optional color

color: string

defaults to text color defined in global styles settings

configTypeKey

configTypeKey: string = WeatherWebPartConfig.key

css

detailMode

detailMode: WeatherDetailMode

latitude

latitude: string

Weather location latitude

Optional locationName

locationName: string

Location name, only used to display the location in the UI

longitude

longitude: string

Weather location longitude

Optional units

defaults to WeatherUnits.Metric

Static key

key: string = "webPart_weather"