focus

The focus event is fired when the TreeView receives user focus through the keyboard or the mouse.

<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: {
                focus: function(e) {
                    console.log("treeview focused");
                }
            }
        });
    });
</script>