使用频率 | 中 |
所属模块 | Std.options |
成员类型 | 公有成员函数 |
Object get(Object options);
类型 | 描述 |
Object | 指定需要合并到新选项中的一组值 |
var options = new Std.options({
width:32,
height:32,
value:0
});
var opts = options.get({
width:64
});
var opts2 = options.get({
width:64,
height:64
});
opts = {
width:64,
height:32,
value:0
}
opts2 = {
width:64,
height:64,
value:0
}