Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WeatherElement

Polymer element to display the current weather

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

Static constructor

  • Returns WeatherElement

Properties

Protected show

show: boolean = false

Should we be shown

Protected weather

weather: ICurrentWeather = Weather.DEF_WEATHER

Current weather

Accessors

Static template

  • get template(): HTMLTemplateElement

Methods

Protected _weatherChanged

Protected fireEvent

  • fireEvent(name: string, detailValue?: any): void
  • Dispatch an event

    Parameters

    • name: string

      event name

    • Optional detailValue: any

      optional value

    Returns void

Static localize

  • localize(name: string, def?: undefined | string): string
  • Localize a string

    Parameters

    • name: string

      name from _locales

    • Optional def: undefined | string

      optional default value if name not found

    Returns string

Generated using TypeDoc