Skip to content

Double click event binding #26

Description

Is it possible to bind double click event from controller ?

I followed vakata/jstree#515, but double click event was not fired.

`
var myApp = angular.module('myApp', [ 'jsTree.directive']);
myApp.controller('mainController', function($scope) {

// jstree double click event
// vakata/jstree#515
$(function() {
console.log( "ready!", $('#mytree') );
$('#mytree').on('dblclick','.jstree-anchor', function (e) {
alert("double click fired");
});
});

})
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions