• Hello,

    Is it possible to use toggleClass action on element without ID attribute?

    I know that it’s possible when the element has ID=”body”:

    
    on="tap:body.toggleClass(class=active-sidebar)"
    

    What if I want to toggle class for a body element that does not have ID attribute, is it possible?

    Thank you,
    Taras

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘toggleClass by tag name’ is closed to new replies.