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
php 知识管理系统,ext.tree.treeloader.html
最新推荐文章于 2021-03-11 16:55:58 发布