API
Component

BlobImage ($UI/system/components/justep/blob/blobImage)

使用范围:UI2

Contents

component BlobImage ($UI/system/components/justep/blob/blobImage) extends Blob

BlobImage

Constructor Top

  BlobImage ()
  BlobImage ( options)

Properties Top

string imageType

可以选择的image类型,使用','分隔,如:.jpg,.png

Attributes Top

string imageType

可以选择的image类型,使用','分隔,如:.jpg,.png

Methods Top

Object get (String name)
void set (json arg)

Constructor details Top

public BlobImage ()

BlobImage

public BlobImage ( options)

构造函数

Inherited from ViewComponent

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

Parameters

options

参数选项

Properties Detail Top

public string imageType

可以选择的image类型,使用','分隔,如:.jpg,.png

Attributes Detail Top

public string imageType

可以选择的image类型,使用','分隔,如:.jpg,.png

Methods Detail Top

public Object get (String name)

获取属性值

Parameters

String name

属性名称,取值范围:"disabled"、"limitSize"、"imageType"

Return Value

Object

public void set (json arg)

设置属性值

Parameters

json arg

属性值对
结构如下:

{ "disabled" : 禁用, "limitSize" : 上传文件限制大小,支持格式:1024,25B,100KB,390M,34G,单位支持:B、KB、M、G,默认单位是B,不设置标示不限制大小 "imageType" : 可以选择的image类型,使用','分隔,如:.jpg,.png }

Return Value

void