I have read that it is not possible to supply different icons for closed and open folders using the types plugin.
So here are my type definitions.
"types" : {
"file" : {
"icon" : "glyphicon glyphicon-file"
},
"folder" : {
"icon" : "glyphicon glyphicon-folder-open"
}
}
However I still want different icons for open and closed and I am trying to achieve this via css using Bootstrap Glyphicons.
Why does the following not work?
li.jstree-open > a .jstree-icon {
icon: "glyphicon glyphicon-folder-open";
}
li.jstree-closed > a .jstree-icon {
icon: "glyphicon glyphicon-folder-close";
}
Thanks,
Cathal