Pauan / rust-dominator

Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
MIT License
967 stars 62 forks source link

Set make_event to pub #24

Open dakom opened 4 years ago

dakom commented 4 years ago

Would allow external code to define CustomEvents more easily

The detail property would just come through as a JsValue and it's up to the user to deserialize

Currently, only StaticEvent types are supported.

dakom commented 4 years ago

I think this is fixed by https://github.com/Pauan/rust-dominator/pull/25, at least for now

dakom commented 3 years ago

Renamed the issue since the original idea was to have various macros to make custom events easier. This is now handled via external helpers though it depends on having make_event be pub (see the closed PR for more discussion)