API
Component

Qrcode ($UI/system/components/justep/qrcode/qrcode)

使用范围:UI2

Contents

component Qrcode ($UI/system/components/justep/qrcode/qrcode) extends BindComponent

<b>使用场景</b>:可在页面中动态生成二维码 ## <b>文档链接</b>:#http://docs.newdao.net/appgao-ji-zu-jian/er-wei-ma.html#

Constructor Top

  Qrcode ()
  Qrcode ( options)

Properties Top

string colorDark

前景色

string colorLight

背景色

string text

设置二维码显示的内容,当bind-ref没有定义时有效

Attributes Top

string bind-ref

qrcode组件引用的数据

string colorDark

前景色

string colorLight

背景色

string text

设置二维码显示的内容,当bind-ref没有定义时有效

string xid

组件标示

Constructor details Top

public Qrcode ()

<b>使用场景</b>:可在页面中动态生成二维码 ## <b>文档链接</b>:#http://docs.newdao.net/appgao-ji-zu-jian/er-wei-ma.html#

public Qrcode ( options)

构造函数

Inherited from ViewComponent

	
		参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
	 

Parameters

options

参数选项

Properties Detail Top

public string colorDark

前景色

public string colorLight

背景色

public string text

设置二维码显示的内容,当bind-ref没有定义时有效

Attributes Detail Top

public string bind-ref

qrcode组件引用的数据

public string colorDark

前景色

public string colorLight

背景色

public string text

设置二维码显示的内容,当bind-ref没有定义时有效

public string xid

组件标示