EMP界面开发规范-界面标签

控件支持属性和样式对照表

这里整理了控件支持的属性和样式,用于方便查阅及对照; 在各个控件的定义中有对其支持属性和样式的详细描述。

1 控件支持属性对照表


下面的表格为具体控件对属性的支持情况:

proper属性 name value text tagName hide focus enable src checked href
div -- -- -- -- -- --
form -- -- -- -- -- -- --
img -- -- -- -- --
input:button -- -- -- -- --
input:submit -- -- -- -- --
input:password -- -- -- --
input:text -- -- -- --
input:segment -- -- --
input:switch -- -- -- --
input:checkbox -- -- --
input:radio -- -- --
link -- -- --
select -- -- -- -- --
select:option -- -- -- -- -- --
text:i -- -- -- -- --
text:em -- -- -- -- --
text:strong -- -- -- -- --
text:b -- -- -- -- --
text:label -- -- -- -- --
table:table -- -- -- -- -- -- --
table:tr -- -- -- -- -- --
table:th -- -- -- -- -- -- --
table:td -- -- -- -- -- -- --
proper属性 align valign selected border separator loading failed delay titleimg cornerradius
div -- -- -- -- -- -- --
img -- -- -- -- -- -- -- --
input:button -- -- -- -- -- -- -- --
input:submit -- -- -- -- -- -- -- --
input:password -- -- -- -- -- -- -- -- --
input:text -- -- -- -- -- -- -- -- --
input:segment -- -- -- -- -- -- -- --
input:checkbox -- -- -- -- -- -- -- -- --
input:radio -- -- -- -- -- -- -- -- --
select -- -- -- -- -- -- -- -- --
select:option -- -- -- -- -- -- -- -- --
table:table -- -- -- -- -- -- -- --
table:tr -- -- -- -- -- -- -- -- --
table:th -- -- -- -- -- -- -- --
table:td -- -- -- -- -- -- -- --
其他控件 -- -- -- -- -- -- -- -- -- --
proper属性 leftimg rightimg leftimgmode rightimgmode clearmode style hold returnkeytype returnkeyaction encryptmode substitute isorder
input:button -- -- -- -- -- -- -- -- -- --
input:submit -- -- -- -- -- -- -- -- -- --
input:password -- -- --
input:text 仅ios -- -- --
其他控件 -- -- -- -- -- -- -- -- -- -- -- --
proper属性 numlines linebreakmode shadowcolor shadowoffset ontintcolor offtintcolor thumbtintcolor loop velocity adjustsfontsize minfontsize
input:segment -- -- -- -- -- -- -- -- -- --
input:switch -- -- -- -- -- -- -- --
input:checkbox -- -- -- -- -- -- --
input:radio -- -- -- -- -- -- --
link -- -- -- -- -- -- -- -- -- --
text:i -- -- --
text:em -- -- --
text:strong -- -- --
text:b -- -- --
text:label -- -- --
其他控件 -- -- -- -- -- -- -- -- -- -- --

2 控件支持样式对照表


下面的表格为具体控件对样式的支持情况:

style color left right top bottom width height font-size font-weight
div
img -- -- --
input:button
input:submit
input:segment --
input:switch -- -- --
input:checkbox
input:radio
input:text
input:password -- --
link:a
select
select:option -- -- -- -- -- --
text:i
text:em
text:strong --
text:b --
text:label
table:table
table:tr -- -- -- -- --
table:td -- -- -- --
table:th -- -- -- --
style display position filter text-align background-color background-image
div --
img 仅支持透明度 -- -- --
input:button --
input:submit --
input:segment -- -- -- --
input:switch -- -- -- --
input:checkbox --
input:radio --
input:text
input:password
link:a --
select
select:option -- -- -- -- --
text:i --
text:em --
text:strong --
text:b --
text:label --
table:table --
table:tr -- --
table:td -- -- --
table:th -- -- --
style font-style inline-block visibility border border-radius
div
img -- -- -- --
input:button --
input:submit --
input:segment -- -- --
input:switch -- -- -- --
input:checkbox -- -- --
input:radio -- -- --
input:text --
input:password -- --
link:a</
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值