uniAPP·textarea标签中show-confirm-bars属性为假

uniAPP·textarea标签中show-confirm-bars属性为假

show-confirm-bars属性:去掉输入法上显示的“完成”

:show-confirm-bar="false" 必须加冒号才生效

maxlength=”100″ 属性:限制最大输入字符100;

focus=”true”属性:键盘获得输入焦点;

cursor-spacing = “10” 属性:手机弹出的设置输入法距离位置;

auto-height=”trues”属性:自动换行增高;

show-confirm-bars属性:去掉输入法上显示的“完成”

@input 属性接收输入(需要在方法涵中实现逻辑);

value=”内容”;

placeholder=”预留内容”;

adjust-position=”true” 输入法获得焦点时页面往上推;

实例:

<textarea focus="true" :placeholder="textPlaceholder" adjust-position="true" disable-default-padding="true"
	maxlength="100" :show-confirm-bar="false" cursor-spacing = "10" :value="textComment" :auto-height="trues" @input="putCommentbox"></textarea>
951 Views
分享你的喜爱
linwute
linwute

我要像梦一样自由,像大地一样宽容;
在艰辛放逐的路上,点亮生命的光芒;
我要像梦一样自由,像天空一样坚强;
在曲折蜿蜒的路上,体验生命的意义;

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注