gnat / surreal

🗿 Mini jQuery alternative. Dependency-free animations. Locality of Behavior. Use one element or arrays transparently. Pairs with htmx. Vanilla querySelector() but better!
https://gnat.github.io/surreal/example.html
MIT License
1.2k stars 24 forks source link

Add block statement example #26

Closed alarbada closed 3 months ago

alarbada commented 4 months ago

Very useful and simple solution which doesn't need much more syntax.

gnat commented 3 months ago

DUDE! Phenomenal tip- and works with me() / parentElement !

I've gone ahead and updated that whole section.

image

Thank you very much for the hot tip. @alarbada !