Skip to content

Commit

Permalink
Improve doc string on on_message event.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamidev committed Mar 11, 2024
1 parent a4cc8dd commit 686ddc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ impl BrowserWindow {

/// The event that will fire whenever `invoke_extern` is called with JS on
/// the client side.
/// This event is implemented for _all_ browser frameworks.
pub fn on_message(&self) -> MessageEvent { self.0.0.inner.on_message(Rc::downgrade(&self.0)) }

/// Whenever navigation has finished and the page has loaded.
Expand Down

0 comments on commit 686ddc4

Please sign in to comment.