zoukankan      html  css  js  c++  java
  • textarea组件

      textarea组件:多行输入框;(文本域)

      textarea组件属性:

        value:类型  字符串  输入框的内容

        placeholder:类型  字符串  输入框为空时的占位符

        placeholder-style:类型  字符串  指定 placeholder 的样式,目前仅支持 color,font-size,font-weight

        placeholder-class:类型  字符串  指定 placeholder 的样式类

        disabled:类型  布尔  是否禁用

        maxlength:类型  数字  最大的输入长度,默认值140,设置为-1时,不限制最大长度

        auto-focus:类型  布尔  自动聚焦,拉起键盘

        focus:类型  布尔  获取焦点

        cursor-spacing:类型  数字  指定光标与键盘的距离

        cursor:类型  数字  指定 focus 时,光标的位置;

        show-confirm-bar:类型  布尔  是否显示键盘上方带有完成那一栏

        selection-start:类型  数字  光标的起始位置,自动聚焦时有效

        selection-end:类型  数字  光标的结束位置,自动聚焦时有效

        adjust-position:类型  布尔  键盘抬起时,是否自动上推页面

      事件:

        bindfocus:输入框聚焦时触发

        bindblur:输入框失去焦点时触发

        bindlinechange:输入框行数变化时,调用

        bindinput:当键盘输入时,触发input事件

        bindconfirm:点击完成时,触发comfirm事件

        bindkeyboardheightchange:键盘高度发生变化时,触发此事件

      

  • 相关阅读:
    volatile详解
    Java并发之AQS详解
    Thread详解
    Hibernate检索策略
    Hibernate查询方式
    Hibernate--对象关系
    hibernate--hibernate.cfg.xml常用配置详解
    hibernate--CRUD初体验
    hibernate--HelloWorld
    Struts支持的contentType
  • 原文地址:https://www.cnblogs.com/shangjun6/p/10932653.html
Copyright © 2011-2022 走看看