php 知识管理系统,ext.tree.treeloader.html

Observable   purgeListeners() : void Removes all listeners for this object Removes all listeners for this object Parameters: None. Returns: void Observable   relayEvents( Object o, Array events ) : void Relays selected events from this Observable to a different Observable Relays selected events from this Observable to a different Observable Parameters: o : ObjectThe Observable to relay events toevents : ArrayArray of event names to relay Returns: void Observable   removeListener( String eventName, Function handler, [Object scope] ) : void Removes a listener Removes a listener Parameters: eventName : StringThe type of event to listen forhandler : FunctionThe handler to removescope : Object(optional) The scope (this object) for the handler Returns: void Observable   resumeEvents() : void Resume firing events. (see suspendEvents) Resume firing events. (see suspendEvents) Parameters: None. Returns: void Observable   suspendEvents() : void Suspend the firing of all events. (see resumeEvents) Suspend the firing of all events. (see resumeEvents) Parameters: None. Returns: void Observable   un( String eventName, Function handler, [Object scope] ) : void Removes a listener (shorthand for removeListener) Removes a listener (shorthand for removeListener) Parameters: eventName : StringThe type of event to listen forhandler : FunctionThe handler to removescope : Object(optional) The scope (this object) for the handler Returns: void Observable Public Events Event Defined By   beforeload : ( Object This, Object node, Object callback ) Fires before a network request is made to retrieve the Json text which specifies a node's children. Fires before a network request is made to retrieve the Json text which specifies a node's children. Listeners will be called with the following arguments: This : ObjectTreeLoader object.node : ObjectThe Ext.tree.TreeNode object being loaded.callback : ObjectThe callback function specified in the load call. TreeLoader   load : ( Object This, Object node, Object response ) Fires when the node has been successfuly loaded. Fires when the node has been successfuly loaded. Listeners will be called with the following arguments: This : ObjectTreeLoader object.node : ObjectThe Ext.tree.TreeNode object being loaded.response : ObjectThe response object containing the data from the server. TreeLoader   loadexception : ( Object This, Object node, Object response ) Fires if the network request failed. Fires if the network request failed. Listeners will be called with the following arguments: This : ObjectTreeLoader object.node : ObjectThe Ext.tree.TreeNode object being loaded.response : ObjectThe response object containing the data from the server. TreeLoader

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值