Gio.js
Getting Start
Gio.js 2.0
Basic Elements
Configuration
Object Design API
Color and Style API
Working with Data
Callback
Dependence Interface
Advanced Feature
switchCountry
Instead of mouse click, switchCountry() API can be used to change currently selected country. This gives developer more flexibility.
Parameter: countryCode - Country/area codes that conforms to ISO 3166 standards
// switch selected country to "US"
controller.switchCountry("US");