markmead / hyperjs

HyperJS is a component library for Alpine JS allowing developers to quickly copy and paste functionality into their projects 🛵
https://js.hyperui.dev
MIT License
378 stars 15 forks source link

[REQUEST] Clearer Modal Example #39

Closed diomed closed 11 months ago

diomed commented 11 months ago

I'd appreciate more clear modal example that doesnt show just some random green color but actual modal window with some text in it.

markmead commented 11 months ago

You can do that yourself, HyperJS just gives you a skeleton of Alpine JS functionality.

diomed commented 11 months ago

thing is, your example is pretty useless for beginners, and they are usually the ones who check out these things.

markmead commented 11 months ago

I disagree, a beginner would struggle with the modal logic, the example provides that.