Skip to content

Commit

Permalink
feat(docs): 更新native-api文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Bless-L committed Jun 11, 2018
1 parent ec78fed commit 5bff28c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
12 changes: 6 additions & 6 deletions docs/native-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,12 @@ SocketTask.onMessage(CALLBACK)
| :-: | :-: | :-: | :-: |
| Taro.connectSocket | ✔️ | ✔️ | ✔️ |
| SocketTask | ✔️ | ✔️ | ✔️ |
| Taro.onSocketOpen | ✔️ | | ✔️ |
| Taro.onSocketError | ✔️ | | ✔️ |
| Taro.sendSocketMessage | ✔️ | | ✔️ |
| Taro.onSocketMessage | ✔️ | | ✔️ |
| Taro.closeSocket | ✔️ | | ✔️ |
| Taro.onSocketClose | ✔️ | | ✔️ |
| Taro.onSocketOpen | ✔️ | | |
| Taro.onSocketError | ✔️ | | |
| Taro.sendSocketMessage | ✔️ | | |
| Taro.onSocketMessage | ✔️ | | |
| Taro.closeSocket | ✔️ | | |
| Taro.onSocketClose | ✔️ | | |

## 数据缓存

Expand Down
22 changes: 12 additions & 10 deletions packages/taro-rn/src/api/api-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,21 @@

#### WebSocket

☑️ wx.connectSocket
wx.connectSocket

☑️ wx.onSocketOpen
wx.onSocketOpen

☑️ wx.onSocketError
wx.onSocketError

☑️ wx.sendSocketMessage
wx.sendSocketMessage

☑️ wx.onSocketMessage
wx.onSocketMessage

☑️ wx.closeSocket
wx.closeSocket

☑️ wx.onSocketClose
❌ wx.onSocketClose

✅ SocketTask

### 媒体

Expand Down Expand Up @@ -375,13 +377,13 @@

#### 导航

☑️ wx.navigateTo
wx.navigateTo

☑️ wx.redirectTo
wx.redirectTo

🤔 wx.switchTab

☑️ wx.navigateBack
wx.navigateBack

🤔 wx.reLaunch

Expand Down

0 comments on commit 5bff28c

Please sign in to comment.