Open ghost opened 9 years ago
Is it possible to bind double click event from controller ?
I followed https://github.com/vakata/jstree/issues/515, but double click event was not fired.
` var myApp = angular.module('myApp', [ 'jsTree.directive']); myApp.controller('mainController', function($scope) {
// jstree double click event // https://github.com/vakata/jstree/issues/515 $(function() { console.log( "ready!", $('#mytree') ); $('#mytree').on('dblclick','.jstree-anchor', function (e) { alert("double click fired"); }); });
}) `
+1
Is it possible to bind double click event from controller ?
I followed https://github.com/vakata/jstree/issues/515, but double click event was not fired.
` var myApp = angular.module('myApp', [ 'jsTree.directive']); myApp.controller('mainController', function($scope) {
// jstree double click event // https://github.com/vakata/jstree/issues/515 $(function() { console.log( "ready!", $('#mytree') ); $('#mytree').on('dblclick','.jstree-anchor', function (e) { alert("double click fired"); }); });
}) `