Construct stdweb::ClickEvent

Is it possible to, via Rust code, construct a https://docs.rs/stdweb/0.4.20/stdweb/web/event/struct.ClickEvent.html ?

I'm calling https://docs.rs/stdweb/0.4.20/stdweb/web/trait.IEventTarget.html#method.dispatch_event , on a "file input object", which requires that I somehow synthesize a "click event"

The document javascript object has an createEvent function, but it doesn't seem to be in stdweb::web::Document.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.