mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
fixed websocket docs
This commit is contained in:
parent
eff44f42e0
commit
5eaa63f422
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ use web_sys::{BinaryType, CloseEvent, Event, MessageEvent, WebSocket};
|
|||
/// <button on:click=open_connection disabled=connected>"Open"</button>
|
||||
/// <button on:click=close_connection disabled=move || !connected()>"Close"</button>
|
||||
///
|
||||
/// <p>"Receive message: " {format! {"{:?}", message}}</p>
|
||||
/// <p>"Receive byte message: " {format! {"{:?}", message_bytes}}</p>
|
||||
/// <p>"Receive message: " {move || format!("{:?}", message())}</p>
|
||||
/// <p>"Receive byte message: " {move || format!("{:?}", message_bytes())}</p>
|
||||
/// </div>
|
||||
/// }
|
||||
/// # }
|
||||
|
|
Loading…
Add table
Reference in a new issue