Thanks for the help.
element.addClass('addedName') did not work, but
element[0].classList.add('addedName')
did. Does it mean anything?On Wed, Sep 17, 2014 at 9:49 AM, Sander Elias <[email protected]> wrote: > Hi Mark, > > app.directive('formatFilterspanel', > function() { > return { > restrict: 'AEC', > link: function(scope, element, attrs ) { > > element.addClass('addedName') > element.removeClass('removedName') > > element.css({...}); > > element[0].classList.add('addedName') > element[0].classList.remove('removedName') > > element[0].classList.toggle(...) > element[0].classList.contains(...) > > } > > }; > }); > > Enough? > > Regards > Sander > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/LpISsXVZWpg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
