MCPcopy Create free account
hub / github.com/angular-rust/yew-components / update

Method update

src/icon.rs:31–38  ·  view source on GitHub ↗
(&mut self, msg: Self::Message)

Source from the content-addressed store, hash-verified

29 }
30
31 fn update(&mut self, msg: Self::Message) -> ShouldRender {
32 // match msg {
33 // Msg::Clicked => {
34 // // self.onsignal.emit(());
35 // }
36 // }
37 false
38 }
39
40 fn change(&mut self, props: Self::Properties) -> ShouldRender {
41 // self.label = props.label;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected