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>:拖入设计器中,通过设置“文本”属性,显示固定值;通过设置“引用”属性,显示动态值

Constructor Top

  Qrcode ()
  Qrcode ( options)
  Qrcode ( options)

Properties Top

string colorDark

前景色

string colorDark

前景色

string colorLight

背景色

string colorLight

背景色

string text

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

string text

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

Attributes Top

string bind-ref

qrcode组件引用的数据

string bind-ref

qrcode组件引用的数据

string colorDark

前景色

string colorDark

前景色

string colorLight

背景色

string colorLight

背景色

string text

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

string text

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

string xid

组件标示

string xid

组件标示

Constructor details Top

public Qrcode ()

<b>使用场景</b>:需要显示二维码的情况下都可以使用; <b>使用方法</b>:拖入设计器中,通过设置“文本”属性,显示固定值;通过设置“引用”属性,显示动态值

public Qrcode ( options)

构造函数

Inherited from ViewComponent

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

Parameters

options

参数选项

public Qrcode ( options)

构造函数

Inherited from ViewComponent

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

Parameters

options

参数选项

Properties Detail Top

public string colorDark

前景色

public string colorDark

前景色

public string colorLight

背景色

public string colorLight

背景色

public string text

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

public string text

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

Attributes Detail Top

public string bind-ref

qrcode组件引用的数据

public string bind-ref

qrcode组件引用的数据

public string colorDark

前景色

public string colorDark

前景色

public string colorLight

背景色

public string colorLight

背景色

public string text

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

public string text

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

public string xid

组件标示

public string xid

组件标示