blur

The blur event is fired when the TreeView control loses the user focus.

<ul id="treeview">
    <li>My Project
        <ul>
            <li id="someid">js</li>
            <li>css</li>
        </ul>
        <li>index.html<li>
        <li>upload.php<li>
    </li>
</ul>

<script type="text/javascript">
    jQuery(function ($) {
        $("#treeview").shieldTreeView({
            events: {
                blur: function(e) {
                    console.log("treeview lost focus");
                }
            }
        });
    });
</script>