Places countries Class
Displays a way to select one or more countries
Constructor
Places countries
(
-
[options]
-
[options.onChange=new
Parameters:
-
[options]
Object optionalused to pass options
-
[flags="Q/plugins/Places/img/squareflags"]
String optionalthe path for the flags, or set to false to omit the flag
-
[countryCode='US']
String optionalthe initial country to select in the list
-
[firstCountryCodes='US','GB']
Array optionalarray of country codes to place first in the list
-
[sort]
Boolean optionalif true, sorts the countries alphabetically
-
[globe]
Q.Tool optionala reference to a "Places/globe" tool to synchronize
-
[onReady]
Q.Event optionalthis event occurs when the countries selector is ready
-
-
[options.onChange=new
Q.EventQ.Event()] Occurs when the value has changed