WeatherBlox - Hourly Forecast Layout
Hourly Forecast LayoutObject
aeris.wxblox.layouts.local.HourlyForecastData Usage
The HourlyForecast local layout is a full-page layout containing an embedded Forecast component to display hourly forecast information for the requested day with additional page controls.

Examples
Display a full local hourly forecast view for Jacksonville, FL today:
const view = new aeris.wxblox.layouts.local.HourlyForecast('#wxblox');
view.load({
p: 'jacksonville,fl'
});Configuration
The following configuration options are supported by this view:
| Option | Description | Default |
|---|---|---|
data | Type: object () | |
enabled | Type: boolean () | |
metric | Type: boolean () | |
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