nz-toggle
nz-toggle copied to clipboard
nz-toggle fire only on user event ?
Hello,
can we fire a toggle only on user event, and don't call the 'on-toggle' when model is changed ?
Thanks
Hey there! I've made a Pull request to issue this. Check here: https://github.com/tannerlinsley/nz-toggle/pull/44
I had some trouble when using nz-toggle with md-virtual-repeater due to the watch, so I made that it calls onToggle method only when the toggle function was called as a result of user action.