WeatherBlox - Almanac
AlmanacObject
aeris.wxblox.views.AlmanacData Usage
The Almanac view displays the average weather metrics for the queried location compared to current, and yesterdays, conditions.

Examples
Display current and yesterdays observations compared to the average weather for Boulder, CO.
const view = new aeris.wxblox.views.Almanac('#wxblox');
view.load({
p: 'boulder,co'
});Configuration
The following configuration options are supported by this view:
| Option | Description | Default |
|---|---|---|
enabled | Type: boolean () | |
metric | Type: boolean () | |
renderNoData | Type: boolean () | |
request | Type: object () | |
Methods
The following methods are supported by instances of this view:
rendered()show()hide()params()setUnits(:number)units()enabled()setMetric(:boolean)load(:object)refresh()isMetric()Events
The following events are triggered by instances of this view:
renderrender:beforerender:afterload:startload:doneload:errorchange:units