HTML Tag

<banno:weather></banno:weather>
<banno:weather location="50613" celsius="false"></banno:weather>

Include location attribute to set default location. Different locations can be set in different components in the same site.

Default location can also be set in institution JSON. This will set one location for all weather components in the same site.

Include celsius attribute with value true/false to set the unit of temperature. By default unit is fahrenheit and setting celsius to false will also set unit to fahrenheit.

Note: location attribute in the tag takes precedence over location set in institution model.

Image Folder

In our base files, within src > images, there should be a subfolder called “weather” with a large amount of small weather icons within it. If your site doesn’t have that subfolder, make sure to copy it from the base files and include it.

Example Sites