Closed paul-tST closed 10 years ago
Do you want to try implementing this? I believe you can use element.bind
on click
.
Yes, removing the ng-click
from the directive template and applying it using .on('click', scope.toggle)
worked within the link
function. I didn't take the time to test, but the base functionality works great.
Hi Chris, Any word on this merge?
Thanks.
+1 Would like to see this tested and merged.
+1 on the wanting to see this merged.
@paul-tST thanks!
Could your go be accomplish if we didn't use
ng-click
inside the directive, so you could use it with it?33 got me thinking about this. I would prefer to keep the directive as simple as possible and interlope with other directives. What do you think?