AngularJS directive to toggle a class on any element on click (also handle #data-target attribute) · GitHub

  • Sign up for a GitHub account Sign in
  • AngularJS directive to toggle a class on any element on click (also handle #data-target attribute)
  • Instantly share code, notes, and snippets.
  • We recommend upgrading to the latest Internet Explorer , Google Chrome , or Firefox .
  • Sign up for free to join this conversation on GitHub .


@hervedroit: #AngularJS directive to toggle a class on any element on click (also handle data-target attribute)

We recommend upgrading to the latest Safari, Google Chrome, or Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

AngularJS directive to toggle a class on any element on click (also handle #data-target attribute) · GitHub