API
Component

Password ($UI/wxsys/comps/password/password)

使用范围:WX

Contents

component Password ($UI/wxsys/comps/password/password) extends BindComponent

密码输入框

<b>使用场景</b>:小程序中的input(password)组件,称为密码输入框。用于录入及显示密码 <b>使用方法</b>:通过“绑定数据列”关联数据中的某列。当列中有值时,会显示出来,当用户输入时,会将输入内容存入数据中 ## <b>文档链接</b>:#http://docs.newdao.net/xiao-cheng-xu-biao-dan-zu-jian-2014-2014-ycw/shu-ru-kuang.html#

Constructor Top

  Password ()
  Password ( config)

Static Properties & Enumerations Top

String EVENT_VALUE_CHANGE = "valuechange"

值改变事件

Events Top

void valuechange (ValueChangeEvent event)

Constructor details Top

public Password ()

密码输入框

<b>使用场景</b>:小程序中的input(password)组件,称为密码输入框。用于录入及显示密码 <b>使用方法</b>:通过“绑定数据列”关联数据中的某列。当列中有值时,会显示出来,当用户输入时,会将输入内容存入数据中 ## <b>文档链接</b>:#http://docs.newdao.net/xiao-cheng-xu-biao-dan-zu-jian-2014-2014-ycw/shu-ru-kuang.html#

public Password ( config)

构造函数

Inherited from Operational

Parameters

config

操作配置

Static Properties & Enumerations Detail Top

static public String EVENT_VALUE_CHANGE = "valuechange"

值改变事件

Events Detail Top

public void valuechange (ValueChangeEvent event)

值改变

Parameters

ValueChangeEvent event


结构如下:

{ value : 新值, oldValue : 旧值, source : 组件自身 }

Return Value

void