页面元素管理
方法(Methods)
-
<static> attr(id)
-
获取或设置元素的属性信息
参数(Parameters):
名称 类型 描述 id
string 元素 Id -
<static> fixed(selector, pointX, pointY)
-
设置元素的位置
参数(Parameters):
名称 类型 描述 selector
string 选择表达式 pointX
number X坐标 pointY
number Y坐标 -
<static> options(id)
-
获取元素的选项配置信息
参数(Parameters):
名称 类型 描述 id
string 元素 Id -
<static> query(selector)
-
精确查询单个表单元素,返回一个jQuery对象。
参数(Parameters):
名称 类型 描述 selector
string 选择表达式 -
<static> setAlpha(selector, value)
-
设置容器的透明度
参数(Parameters):
名称 类型 描述 selector
string 选择表达式 value
number 透明度范围(0.00 ~ 1.00) -
<static> swap(options)
-
交换控件的数据
参数(Parameters):
名称 类型 描述 options
object 选项