-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[comp: input] add input, textarea components #158
Comments
|
部分特殊按钮的回调可以提供一个事件出去, 不然用户需要透传监听所有的按键, 然后还要筛选它 key, 这个比较麻烦 |
hover 的时候 显示 clear 图标是吗?如果用户同时还设置了 |
vue 本身已经对特殊键盘事件提供了回调,我觉得我们就没必要再做一个别名了吧。 |
并排 |
|
What problem does this feature solve?
What does the proposed API look like?
ix-input
Props
v-model:value
string
control
string|AbstractContro
control
时, 控件将由AbstractControl
完全控制,此时value
会失效disabled
boolean
false
addonAfter
string|v-slot:addonAfter
addonBefore
string|v-slot:addonBefore
suffix
string|v-slot:suffix
prefix
string|v-slot:prefix
size
large|medium|small
medium
allowClear
boolean
false
borderless
boolean
false
Emits
suffixClick
(value:string, evt: MouseEvent) => void
prefixClick
(value:string, evt: MouseEvent) => void
afterClear
(evt: MouseEvent) => void
ix-textarea
TextareaProps
v-model:value
string
control
autoRows
rows
boolean|{ minRows: number, maxRows: number }
false
showCharacterCount
boolean
false
maxCharacterCount
number|string
computeCharacterCount
characterCount
的函数(v: string) => string
maxCharacterCount
The text was updated successfully, but these errors were encountered: