Skip to content

Commit 24d724b

Browse files
TatriXDavid-OConnor
authored andcommitted
Update events.md
1 parent 6e79997 commit 24d724b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crate/guides/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ where it handles text input triggered by a key press, and uses prevent_default()
177177
## Window events
178178
We handle events triggered by the overall window specially, since it doesn't fit directly
179179
into our virtual DOM. We pass to `App::builder::window_events()` a function that accepts a
180-
ref to `Model`, and returns a `Vec<devents::Listener>`. We use it to control
180+
ref to `Model`, and returns a `Vec<events::Listener>`. We use it to control
181181
which listeners are attached to the window based on the model. Excerpt from the
182182
[window_events](https://github.com/seed-rs/seed/blob/master/examples/window_events/src/lib.rs)
183183
example:

0 commit comments

Comments
 (0)