<style>
.subjectTitle { font-size: 1.15em;}
</style>

## Navigator

### hysdk.navigator.refresh

<h4 class="subjectTitle">功能</h4>

设置导航栏样式。

<h4 class="subjectTitle">环境</h4>

| 平台 | 版本 | 
|-----|-----|
| iOS | |
| Android | |
| touch | 不支持 |
| 微信 | 不支持 |

<h4 class="subjectTitle">参数</h4>

| 参数 | 类型 | 描述 | 必选 | 默认值 | 备注 |
|-----|-----|-----|-----|-----|-----|
| left | object | 左侧配置 | N | TODO | 只支持返回按钮，可自定义颜色 TODO |
| left.tagname | string | 图标名称 | N | TODO | |
| left.color | string | 颜色 | N | TODO | |
| left.highlightColor | string | 高亮颜色 | N | TODO | |
| center | string | 中间标题配置 | N | TODO | |
| center.type | string | 标题类型 | N | `normal` | `normal` / `text-image` |
| center.param（`normal`时） | object | 标题配置 | N | TODO | |
| center.param.tagname | string | 图标名称 | N | TODO | |
| center.param.title | string | 标题 | N | TODO | |
| center.param.color | string | 颜色 | N | TODO | |
| center.param.highlightColor | string | 高亮颜色 | N | TODO | |
| center.param（`text-image`时） | object | 标题配置 | N | TODO | |
| center.param.tagname | string | 图标名称 | N | TODO | |
| center.param.title | string | 标题 | N | TODO | |
| center.param.color | string | 颜色 | N | TODO | |
| center.param.highlightColor | string | 高亮颜色 | N | TODO | |
| center.param.imageURL | string | 图片地址 | N | TODO | |
| center.param.icon | string | | N | TODO | |
| center.param.iconColor | string | | N | TODO | |
| center.param.iconHighlightColor | string | | N | TODO | |

<h4 class="subjectTitle">示例</h4>

```javascript
hysdk.navigator.refresh({
    left: {
        tagname: '',
        color: '',
        highlightColor: ''
    },
    center: {
        type: 'text-image', // normal / text-image,
        param: { // normal类型时
            tagname: '',
            title: '',
            color: '',
            highlightColor: ''
        },
        param: { // text-image类型时
            tagname: '',
            title: '',
            color: '',
            highlightColor: '',
            imageURL: '',
            //icon qunar支持，ctrip不支持
            icon: '',
            iconColor: '',
            iconHighlightColor: ''
        }
    },
    right: [{
        tagname: '',
        imageURL: '',
        title: '',
        color: '',
        highlightColor: '',
        //icon qunar支持，ctrip不支持
        icon: '',
        iconColor: '',
        iconHighlightColor: ''
    }],
    success: function () { },
    fail: function () { }
});
```
