使用频率 | 中高 |
所属模块 | Std.dom |
成员类型 | 公有成员函数 |
Number outerHeight();
Object outerHeight(Number height);
类型 | 描述 |
Number | 要设置的高度值(单位px) |
1. 高度值(像素)
2. this对象
var height = Std.dom("#content").outerHeight();
Std.dom("#content").outerHeight(100);