| Defined In: | StatusProxy.js |
| Class: | Ext.dd.StatusProxy |
| Extends: | Object |
| 配置项 | 定义者 | |
|---|---|---|
|
dropAllowed
: String
当拖动源到达落下目标上方时的CSS样式类
当拖动源到达落下目标上方时的CSS样式类
|
StatusProxy | |
|
dropNotAllowed
: String
当不可以被落下时拖动源的样式(默认为"x-dd-drop-nodrop...
当不可以被落下时拖动源的样式(默认为"x-dd-drop-nodrop")。
|
StatusProxy | |
| 方法 | 定义者 | |
|---|---|---|
StatusProxy
(
Object config
)
: Ext.dd.StatusProxy
构造器
构造器
参数项:
|
StatusProxy | |
setStatus
(
String cssClass
)
更新代理的可见元素,用来指明在当前元素上可否落下的状态。
更新代理的可见元素,用来指明在当前元素上可否落下的状态。
参数项:
|
StatusProxy | |
reset
(
Boolean clearGhost
)
对默认dropNotAllowed值的状态提示器进行复位
对默认dropNotAllowed值的状态提示器进行复位
参数项:
|
StatusProxy | |
update
(
String html
)
更新ghost元素的内容
更新ghost元素的内容
参数项:
|
StatusProxy | |
|
getEl
(
)
: Ext.Layer
返回所在的代理Ext.Layer
返回所在的代理Ext.Layer
参数项:
|
StatusProxy | |
|
getGhost
(
)
: Ext.Element
返回ghost元素
返回ghost元素
参数项:
|
StatusProxy | |
hide
(
Boolean clear
)
隐藏代理
隐藏代理
参数项:
|
StatusProxy | |
|
stop
(
)
如果运行中就停止修复动画
如果运行中就停止修复动画
参数项:
|
StatusProxy | |
|
show
(
)
显示代理
显示代理
参数项:
|
StatusProxy | |
|
sync
(
)
迫使层同步阴影和闪烁元素的位置
迫使层同步阴影和闪烁元素的位置
参数项:
|
StatusProxy | |
repair
(
Array xy,
Function callback,
Object scope
)
通过动画让代理返回到原来位置。
应由拖动项在完成一次无效的落下动...
通过动画让代理返回到原来位置。
应由拖动项在完成一次无效的落下动作之后调用.
参数项:
|
StatusProxy | |