jQuery Forecaster
Demo
  • Script Information
  • Installation and Setup
    • Get Your API Key
    • Install the Script
    • Update the Script
    • Run the Script
    • Sample File
  • Options
  • Default Options
  • Options
  • Examples
  • Additional
    • Common Errors
    • Change Log
Powered by GitBook
On this page

Default Options

View default options. You do not need to modify anything within the weather.min.js script. You can modify these options directly from the script call. The only required option is the appID. Otherwise, you can use the defaults.

appID: "",
city: "",
region: "",
country: "",
count: 5,
days: [
	"Sunday",
	"Monday",
	"Tuesday",
	"Wednesday",
	"Thursday",
	"Friday",
	"Saturday",
],
today: "Today",
unit: "imperial",
text: {
	humidity: "Humidity",
	pressure: "Pressure",
	wind: "Wind",
},
showCity: true,
orientation: "horizontal",
theme: {
	backgroundColor: "#fff",
	color: "#333",
	forceImageWhite: false,
	border: "1px solid #c0c0c0",
},
lang: "en",
icon: "/icons/",
PreviousSample FileNextOptions

Last updated 3 years ago