我正在尝试更改 jstree ( https://www.jstree.com/ ) 中的小三 Angular 形图标
我找到了这段代码:
.on('open_node.jstree', function (e, data) { data.instance.set_icon(data.node, "glyphicon glyphicon-minus");
.on('close_node.jstree', function (e, data) { data.instance.set_icon(data.node, "glyphicon glyphicon-plus"); });
但这改变了主图标。我只想将小三 Angular 形图标更改为加号和减号,而不是默认的“白色”和“黑色”三 Angular 形。
我尝试了很多方法,但没有任何帮助。
最佳答案
关于javascript - 打开和关闭节点时更改jstree小三 Angular 形图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40914010/