-
callJSONP(uri, scriptId)
-
Calls JSONP request
Parameters:
Name |
Type |
Description |
uri |
string
|
Url of api or script you want to request |
scriptId |
string
|
Id of the html script element which you want to create or reload |
- Source:
-
changeDay()
-
Change day of which is weather shown.
- Source:
-
-
Actions performed when switch format button clicked.
- Source:
-
dayFocus()
-
Set focus color on day item if mouse over.
- Source:
-
dayUnFocus()
-
Remove focus color from day item.
- Source:
-
onLoad()
-
Function called when page loads.
- Source:
-
setData(data)
-
Sets data to Weather object
Parameters:
Name |
Type |
Description |
data |
Object
|
Data which will be set to Weather object data memeber |
- Source:
-
-
Set focus color on switch button if mouse over.
- Source:
-
-
Remove focus color from switch button.
- Source:
-
updateTemperature()
-
Updates temperature aftwer format is switched.
- Source:
-
weatherLoaded()
-
Function send to Weather and which is called after weather data is loaded.
- Source: