bootstrap-treeview相关内容

保存状态引导树视图

我需要使用此组件保存状态 https://github.com/jonmiles/bootstrap-树状视图 因此,我在这里修改了源代码: https ://github.com/jonmiles/bootstrap-treeview/blob/master/src/js/bootstrap-treeview.js 我在第104行中添加了代码: getNodes: $.proxy(t ..
发布时间:2020-06-29 00:13:38 前端开发

将数据绑定属性添加到Knockout的boostrap-treeview节点

使用bootstrap-treeview时是否可以将“数据绑定"属性添加到节点? https://github.com/jonmiles/bootstrap-treeview 我已经渲染了一个树状视图,但是我需要绑定一个click事件以与我的剔除ViewModel进行交互. 对于一个节点,我需要在每个节点上添加data-bind="click: ViewNodeData". ..