【函数】 | void setStyle(String style) |
【说明】 | 设置状态栏样式。 |
【返回】 | 无 |
【参数】 | style:样式表。 |
【示例】 |
rexseeStatusBar.setStyle('visibility:hidden;');
运行示例
恢复
设置高度
|
【函数】 | void setAutoHide(boolean autoHide) |
【说明】 | 自动隐藏底部进度条/状态条。 |
【返回】 | 无 |
【参数】 | autoHide:自动隐藏或者不自动隐藏 |
【示例】 |
rexseeStatusBar.setAutoHide(true);
运行示例
恢复
|
【函数】 | void isAutoHide() |
【说明】 | 判断是否自动隐藏底部进度条/状态条。 |
【返回】 | true或false |
【参数】 | 无 |
【示例】 |
rexseeStatusBar.isAutoHide();
运行示例
|
【函数】 | String getStyle(String name) |
【说明】 | 读取状态栏样式的设置值。 |
【返回】 | 样式的设置值。 |
【参数】 | name:要读取的样式的名称。 |
【示例】 |
alert(rexseeStatusBar.getStyle('width')+','+rexseeStatusBar.getStyle('height'));
运行示例
|
【函数】 | String getCurrentStyle(String name) |
【说明】 | 读取状态栏样式的当前值。 |
【返回】 | 样式的当前值。 |
【参数】 | name:要读取的样式的名称。 |
【示例】 |
alert(rexseeStatusBar.getCurrentStyle('width')+','+rexseeStatusBar.getCurrentStyle('height'));
运行示例
|
【函数】 | void startAnimation(String style) |
【说明】 | 启动状态栏动画。 |
【返回】 | 无 |
【参数】 | style:样式表。 |
【示例】 |
rexseeStatusBar.startAnimation('animation-type:rotate;animation-duration:1000;animation-repeat-count:-1;animation-repeat-mode:reverse;animation-rotate-from:-360;animation-rotate-to:0;');
运行示例
|
【函数】 | void stopAnimation() |
【说明】 | 停止状态栏动画。 |
【返回】 | 无 |
【参数】 | 无 |
【示例】 |
rexseeStatusBar.stopAnimation();
运行示例
|