chore: remove outdated docs

This commit is contained in:
Jonathan Kelley committed 2022-07-09 15:22:54 -04:00
1 parent d9546d9504
commit 2369b0cc7f
4 files changed
-370

No files matched your search

@@ -1,26 +0,0 @@
## JavaScript Handlers
Instead of passing a closure, you can also pass a string to event handlers – this lets you use JavaScript (if your renderer can execute JavaScript):
```rust
{{#include ../../examples/event_javascript.rs:rsx}}
```
#![allow(non_snake_case)]
use dioxus::prelude::*;
fn main() {
dioxus_desktop::launch(App);
}
fn App(cx: Scope) -> Element {
cx.render(rsx! {
// ANCHOR: rsx
div {
onclick: "alert('hello world')",
}
// ANCHOR_END: rsx
})
}