Skip to content

Commit

Permalink
docs(SearchBar): 补充 onClear 属性说明 (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
TralafalgarV authored Jul 25, 2023
1 parent 4c44605 commit 088b30a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/searchbar/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export default App;
| onChange | 输入内容时触发 | `(value: string, event: ChangeEvent<HTMLInputElement>) => void` | `-` |
| onFocus | 聚焦时触发 | `(value: string, event: FocusEvent<HTMLInputElement>) => void` | `-` |
| onBlur | 失焦时触发 | `(value: string, event: FocusEvent<HTMLInputElement>) => void` | `-` |
| onClear | 点击清空时触发 | `(event: MouseEvent<HTMLDivElement>) => void` | `-` |
| onSearch | 确定搜索时触发 | `(val: string) => void` | `-` |
| onInputClick | 点击输入区域时触发 | `(event: MouseEvent<HTMLInputElement>) => void` | `-` |

Expand Down

0 comments on commit 088b30a

Please sign in to comment.