Skip to content

Commit

Permalink
Enable feature, add re-export
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza1311 committed Aug 7, 2022
1 parent 316e232 commit 050e528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/yew/Cargo.toml
Expand Up @@ -66,6 +66,7 @@ features = [
"WheelEvent",
"Window",
"HtmlScriptElement",
"SubmitEvent"
]

[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down
1 change: 1 addition & 0 deletions packages/yew/src/lib.rs
Expand Up @@ -309,6 +309,7 @@ pub mod events {
pub use web_sys::{
AnimationEvent, DragEvent, ErrorEvent, Event, FocusEvent, InputEvent, KeyboardEvent,
MouseEvent, PointerEvent, ProgressEvent, TouchEvent, TransitionEvent, UiEvent, WheelEvent,
SubmitEvent,
};

#[cfg(feature = "csr")]
Expand Down

0 comments on commit 050e528

Please sign in to comment.