eo-search
<eo-search>
Alias:
<form.general-search>
搜索框
Examples
Basic
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
value | 搜索框的值 | string | "" | |
placeholder | 提示语 | string | ||
autoFocus | 是否自动聚焦 | boolean | ||
clearable | 可以点击清除图标删除内容 | boolean | ||
trim | 是否剔除前后空格 | boolean | ||
debounceTime | 默认延迟时间 | number | 0 |
Events
Name | Description | Event Detail |
---|---|---|
change | 输 入的搜索字符,输入变化时触发 | string |
search | 搜索时触发 | string |