Home Article Practice textarea文本域及属性(小程序)

textarea文本域及属性(小程序)

2024-04-11 20:36  views:521  source:心丶慌了    

textarea文本域
属性:
placeholder输入提示;值自定义
maxlength最大字数;值数值
auto-focus自动对焦输入框;值true是、false默认否
confirm-type改变手机键盘;值send确认
bindchanging过程绑定事件;值bing响应;对应bing(){输出内容}
bindchange结尾绑定事件;值变量名;
对应变量名(e){console。log(“当前内容为:”,e。detail。value)}



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)