Skip to content

Instantly share code, notes, and snippets.

@ABooooo
Created October 1, 2024 07:45
Show Gist options
  • Save ABooooo/934d2c7dcc09e0bcdbdafa2a2a6983f6 to your computer and use it in GitHub Desktop.
Save ABooooo/934d2c7dcc09e0bcdbdafa2a2a6983f6 to your computer and use it in GitHub Desktop.
// https://ractive.js.org/api/#class-42
<div class-foo="isFoo">Adds "foo" if isFoo is truthy</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment