当创建Gio controller对象时,可以将配置参数传递给controller,具体传递方式如下所示:
var configs = {
color: {
surface:0xFF0000
}
};
var globe = new Gio.controller(container, configs);
color: {
surface:0xFF0000
}
};
var globe = new Gio.controller(container, configs);