Skip to content

Instantly share code, notes, and snippets.

@vanaf1979
Created March 1, 2021 11:34
Show Gist options
  • Save vanaf1979/543715b0cd955e197b35a27f5b2eb5ec to your computer and use it in GitHub Desktop.
Save vanaf1979/543715b0cd955e197b35a27f5b2eb5ec to your computer and use it in GitHub Desktop.
element.classList.contains("classname");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment