WeatherBlox - Calendar Layout
Calendar LayoutObject
aeris.wxblox.layouts.local.CalendarData Usage
The Calendar local layout is a full-page layout containing an embedded Calendar component to display past daily summaries alongside extended forecast information for the month with additional page controls.

Examples
Display a full calendar layout for Boulder, CO in the current month:
const view = new aeris.wxblox.layouts.local.Calendar('#wxblox');
view.load({
p: 'boulder,co'
});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