使用范围:UI2
Contents
component AttachmentSimple ($UI/system/components/justep/attachment/attachmentSimple) extends BindComponent
Constructor Top
AttachmentSimple () | |||
AttachmentSimple ( options) |
Attributes Top
string |
bind-ref
数据引用 | ||
string |
xid
组件标示 |
Methods Top
void | uploadFile () |
Operations Top
void | uploadFile () |
Constructor details
Top
public
AttachmentSimple
()
使用场景:可实现上传文件和显示已上传文件的功能;
使用方法:需要绑定数据列,且数据列类型必须为“文件”;
##
文档链接:#http://docs.newdao.net/appgao-ji-zu-jian/fu-jian.html#
public
AttachmentSimple
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
AttachmentSimple
()
public
AttachmentSimple
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Attributes Detail Top
public
string
bind-ref
数据引用
public
string
xid
组件标示
Methods Detail Top
public
void
uploadFile
()
上传(app)
See UploadFile
Operations Detail Top
public
void
uploadFile
()
上传(app)
See UploadFile