This document contains notes for migrating between major version numbers of
angular-ivh-treeview
.
- The
ivh-treeview-click-handler
attribute was renamed toivh-treeview-on-toggle
. Similarly,ivh-treeview-change-handler
was renamed toivh-treeview-on-cb-change
. Similarly, you should now useonToggle
andonCbChange
rather thanclickHandler
andchangeHandler
respectively when configuring your tree with an options hash (#45, #55). - The
ivh-treeview-on-toggle
andivh-treeview-on-cb-change
attributes now expect an angular expression (similar to what you might provideng-click
) rather than a simple callback. See the README for more details.
- The
validate
option now deafults totrue
, this means trees will be validated by default. Set this option tofalse
if you prefer the previous behavior.
- Templates now reference the treeview controller instance as
trvw
instead ofctrl
.