Global

Members


jOWM

Plugin: jquery.OWM

jQuery plugin to display data from OpenWeatherMap.

Version: 0.0.1
Copyright (c) 2015, Stefan Borchert

Licensed under the GPLv3 license.

Source:

Methods


debug()

Return icon database for debuging purposes - use ONLY for debugging as it's
circumventing the data hiding and exposes a writeable reference to the
database object!

Source:
Returns:

The icon database

Type
Object

fadeNavbar(position, direction, speed)

fades in/out a navbar

Parameters:
Name Type Description
position

[Top|Left|Right|Bottom]

direction

[in|out]

speed

time in milliseconds

Source:

get(name, type, flavour, color)

Get the icon information for a name.

Parameters:
Name Type Description
name String

Name

type String

Type (optional)

flavour String

Flavour (optional)

color String

Color (optional, only relevant for monochrome icons)

Source:
Returns:

The URI for the icon - or "undefined" if not known

Type
URI

handleRead()

This function gets called once the communication is established and session information is available

Source:

initializeNavbars(page_id)

traverse down the page tree from root page id_ -> .. -> page_id activate
all navbars in that path deactivate all others

Parameters:
Name Type Description
page_id
Source:

list()

List all known icons

Source:
Returns:

List of all known icon names

Type
Array

Change the size of the selected navbar

currently only "left" and "right" are implemented

Source:

subscribe()

Subscribe to the addresses in the parameter

Source:

updatePageParts(page)

update the visibility ob top-navigation, footer and navbar for this page

Parameters:
Name Type Description
page
Source:

write()

This function sends a value

Source: