## Function(treeId, treeNode)setting.callback.beforeMouseUp

### Overview[ depends on jquery.ztree.core js ]

Used to capture the mouseup event before the 'onMouseUp' callback, zTree based on return value to determine whether to trigger the 'onMouseUp' callback.

Default: null

### Function Parameter Descriptions

#### treeId String

zTree unique identifier: treeId, easy for users to control.

#### treeNode JSON

JSON data object of the node which mouse over

If the DOM which mouse over isn't a node, it will return null.

#### Return Boolean

return true or false

If return false, zTree will not trigger the 'onMouseUp' callback, no effect on other operations.

### Examples of setting & function

#### 1. disable to trigger the 'onMouseUp' callback

    function zTreeBeforeMouseUp(treeId, treeNode) {
        return false;
    };
    var setting = {
    	callback: {
    		beforeMouseUp: zTreeBeforeMouseUp
    	}
    };
    ......