Skip to content

Commit

Permalink
添加“浏览器兼容性”章节
Browse files Browse the repository at this point in the history
  • Loading branch information
Array-Huang committed Aug 15, 2019
1 parent 7e3c902 commit 4a617a3
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,12 @@ const windowParams = {
enhanceWindow(document.querySelector('.demo-window'), windowParams);
```

# Parameters
## Browser Compatibility
| IE10 | IE11 | Chrome |
| :---: | :---: | :---: |
| OK | OK | OK |

## Parameters

Parameter | Description | Type | Accepted Values | Default
---|---|---|---|---
Expand Down
5 changes: 5 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ const windowParams = {
enhanceWindow(document.querySelector('.demo-window'), windowParams);
```

## 浏览器兼容性
| IE10 | IE11 | Chrome |
| :---: | :---: | :---: |
| OK | OK | OK |

## 参数

参数 | 说明 | 类型 | 可选值 | 默认值
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ module.exports = {
'/': {
selectText: 'Languages',
label: 'English',
sidebar: ['quick-start', 'examples', 'params'],
sidebar: ['quick-start', 'browser-compatibility', 'examples', 'params'],
},
'/zh-CN/': {
selectText: 'Languages',
label: '简体中文',
/* 侧边栏 */
sidebar: {
'/zh-CN/': ['quick-start', 'examples', 'params'],
'/zh-CN/': ['quick-start', 'browser-compatibility', 'examples', 'params'],
},
},
},
Expand Down
4 changes: 4 additions & 0 deletions docs/browser-compatibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Browser Compatibility
| IE10 | IE11 | Chrome |
| :---: | :---: | :---: |
| OK | OK | OK |
4 changes: 4 additions & 0 deletions docs/zh-CN/browser-compatibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 浏览器兼容性
| IE10 | IE11 | Chrome |
| :---: | :---: | :---: |
| OK | OK | OK |

0 comments on commit 4a617a3

Please sign in to comment.