You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add a language drop-down list box to the header part of each page. I think this part should be achieved by modifying the page/page.rs file, but I don’t know how to send events. any ideas?
I want to add a language drop-down list box to the header part of each page. I think this part should be achieved by modifying the page/page.rs file, but I don’t know how to send events. any ideas?
div![select![
attrs! {At::Name => "lang"},
langs.iter().map(|lang| option![attrs! {At::Value => lang}, lang]),
input_ev(Ev::Change, |new_value| Msg::LangChanged(new_value)),
],],
The text was updated successfully, but these errors were encountered: