WeatherBlox - Day/Night Forecast
Day/Night ForecastObject
aeris.wxblox.views.DayNightForecastData Usage
The DayNightForecast view displays a short-term weather forecast for a single location in day / night increments.

Examples
Display the 24-hour forecast for Sedona, AZ
const view = new aeris.wxblox.views.DayNightForecast('#wxblox', {
});
view.load({
p: 'sedona,az'
});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