Schlagwort-Archiv: Javascript

jQuery map() Methode

 

Weiterlesen

Pure Javascript

 

Weiterlesen

jstree Snippets

var tree = SentenceTree.getInstance(); var inst = $.jstree.reference(data.reference); tree.get_selected(); tree.get_node(nodeid); tree.get_children(node); tree.get_path(id, false, true); // path ids as array tree.delete_node(node); tree.delete_node(node); tree.select_node(node, true, false); // supress_event tree.is_selected(obj) tree.deselect_all(); tree.refresh(true, false) $(this.ele).jstree(true).get_json(‚#‘, {flat:false, no_state:true}); //open Tree.tree.jstree(‚open_node‘, id, function(){ Tree.tree.jstree(’select_node‘, selected_id, true, false); // select_node without event trigger }); // load Tree.tree.jstree(‚load_node‘, id, function(){ //open Tree.tree.jstree(‚open_node‘, id, […]

Weiterlesen

GULP Module

var minify = require(‚gulp-minify-css‘);

 

Weiterlesen