Skip to Content
Forecast

WeatherBlox - Forecast

Object
aeris.wxblox.views.Forecast

The Forecast view displays weather forecast data for a single location. Additionally, this view allows users to expand the forecast day to view more detailed forecast data.

Forecast

Examples

Display the extended detailed forecast for Minneapolis, MN:

const view = new aeris.wxblox.views.Forecast('#wxblox'); view.load({ p: 'minneapolis,mn' });

Display the hourly forecast for Seattle, WA for the next 24 hours:

const view = new aeris.wxblox.views.Forecast('#wxblox', { type: 'hourly' }); view.load({ p: 'seattle,wa', limit: 24 });

Configuration

The following configuration options are supported by this view:

OptionDescriptionDefault
typeType: string ()detailed
enabledType: boolean ()true
metricType: boolean ()false
renderNoDataType: boolean ()true
requestType: object ()

Methods

The following methods are supported by instances of this view:

Events

The following events are triggered by instances of this view:

© 2026 Xweather (opens in a new tab)Terms of Service (opens in a new tab)Privacy Policy (opens in a new tab)