@ruiyun/preact-m-search-input

这个组件解决以下问题: - 输入清除按钮 - 键盘搜索按钮 - 中文拼音输入完成后再触发事件 - 输入debounce

Usage no npm install needed!

<script type="module">
  import ruiyunPreactMSearchInput from 'https://cdn.skypack.dev/@ruiyun/preact-m-search-input';
</script>

README

搜索输入框组件

这个组件解决以下问题:

  • 输入清除按钮
  • 键盘搜索按钮
  • 中文拼音输入完成后再触发事件
  • 输入debounce