docs(Search): update document (#4414)

This commit is contained in:
neverland
2019-09-10 17:34:58 +08:00
committed by GitHub
parent f6f696ff73
commit 4192ef198e
9 changed files with 37 additions and 40 deletions
-3
View File
@@ -67,9 +67,6 @@ function Search(
attrs: ctx.data.attrs,
on: {
...ctx.listeners,
input(value: string) {
emit(ctx, 'input', value);
},
keypress(event: KeyboardEvent) {
// press enter
if (event.keyCode === 13) {