You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kgdxpr e69712b1d2
'commit'
1 year ago
..
README.en-US.md 'commit' 1 year ago
README.md 'commit' 1 year ago
input.d.ts 'commit' 1 year ago
input.js 'commit' 1 year ago
input.json 'commit' 1 year ago
input.wxml 'commit' 1 year ago
input.wxs 'commit' 1 year ago
input.wxss 'commit' 1 year ago
props.d.ts 'commit' 1 year ago
props.js 'commit' 1 year ago
type.d.ts 'commit' 1 year ago
type.js 'commit' 1 year ago

README.en-US.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

:: BASE_DOC ::

API

Input Props

name type default description required
align String left optionsleft/center/right N
layout String horizontal optionsvertical/horizontal N
borderless Boolean true - N
clearable Boolean false - N
disabled Boolean - - N
error-message String - deprecated N
external-classes Array - ['t-class', 't-class-input', 't-class-placeholder', 't-class-error-msg'] N
format Function - TypescriptInputFormatType type InputFormatType = (value: InputValue) => stringsee more ts definition N
label String / Slot - - N
maxcharacter Number - - N
maxlength Number - - N
placeholder String undefined - N
prefix-icon String / Slot - - N
readonly Boolean false - N
size String small optionssmall/medium。Typescript'medium' | 'small' N
status String default optionsdefault/success/warning/error N
suffix String / Slot - - N
suffix-icon String / Slot - - N
tips String / Slot - - N
value String / Number - TypescriptInputValue type InputValue = stringsee more ts definition N
default-value String / Number undefined uncontrolled property。TypescriptInputValue type InputValue = stringsee more ts definition N
type String text optionstext/number/idcard/digit/safe-password/nickname N
password Boolean false - N
placeholder-style String - required Y
placeholder-class String input-placeholder - N
cursor-spacing Number 0 - N
auto-focus Boolean false - N
focus Boolean false - N
confirm-type String done optionssend/search/next/go/done N
always-embed Boolean false - N
confirm-hold Boolean false - N
cursor Number - required Y
selection-start Number -1 - N
selection-end Number -1 - N
adjust-position Boolean true - N
hold-keyboard Boolean false - N
safe-password-cert-path String - - N
safe-password-length Number - - N
safe-password-time-stamp Number - - N
safe-password-nonce String - - N
safe-password-salt String - - N
safe-password-custom-hash String - - N

Input Events

name params description
blur (value: InputValue) -
change (value: InputValue, cursor: number, keyCode: number) -
clear - -
enter (value: InputValue) -
focus (value: InputValue) -
keyboardheightchange (height: number, duration: number) -