Comments (3)
Ah - this is an upcoming feature that has slipped into the Docs too early.
Thanks for reporting this - we'll get the feature in ASAP.
Right now, any on
field creates an &dyn FnMut(Event)
instead of the EventHandler type.
from dioxus.
so, is there any demo can help me to create a event
?
thank you!
from dioxus.
so, is there any demo can help me to create a
event
?thank you!
Hi!
I've actually added the feature to support the EventHandler syntax as shown in the docs. In #91
Once the tests pass we can merge it in.
from dioxus.
Related Issues (20)
- High CPU Load and Freeze HOT 1
- VSCode Extention Update and OpenVSX Integration
- Allow running dioxus-cli without rustup installed HOT 1
- Compilation error when child component in different module
- Tunnel / reverse proxy for CLI to enable sharing across the web
- MappedSignal example crashes on pop. General MappedSignal weirdness HOT 2
- Crash when writing to signal from hook HOT 1
- Add .wasm hunter for CI
- Hot reloading doesn't send all edits on page reload
- Hot-reloading doesn't drop disconnected websocket connections
- Hotreloading doesn't hotreload let-bound rsx fragments
- Removing components with hotreloading enabled can lead to page crash
- dioxus-cli + desktop asset dir resolution not working
- hot-reload skips inline conditionals and for loops
- If specified platform is found as feature in a crate, enable that feature
- Pin wasm-bindgen in both CLI and web HOT 2
- CLI Proxy not working
- Warn at compile time if the CLI config cannot be read in a crate
- CLI does not collect assets HOT 1
- Inline mobile build tooling into our CLI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dioxus.